跳至主要内容

驗證 BMC 交換器功能

更新 BMC 交換器之後,請確定交換器根據解決方案配置完整運作。

除了將交換器的執行中配置與更新交換器韌體之前儲存的備份配置檔做比較,這些建議的驗證程序還有助於確認:

  • 交換器 NOS 已更新,並設定為開機至該交換器 NOS

  • 所有鏈結都在運作中,並已指派 IP 位址

  • BGP 連線已開啟,並已建立階段作業

  • ACL 已就定位,且計數器正在遞增

請執行下列各項作業,確定更新的 BMC 交換器正常運作,再繼續進行。

確認 BMC 交換器更新

如果要確認已套用交換器 NOS 更新,且交換器已設定為開機至更新的映像檔,請登入 BMC 交換器並執行下列指令:

show boot
範例
Lenovo-BMC#show boot
Current running image version: 8.4.11
Currently set to boot software image1, active config block.
NetBoot: disabled, NetBoot tftp server: , NetBoot cfgfile:
Current boot Openflow protocol version: 1.0
USB Boot: disabled
Currently profile is default, set to boot with default profile next time.
Current FLASH software:
image1: version 8.4.11, downloaded 12:52:04 Mon Jan 14, 2019
NormalPanel, Mode Stand-alone
image2: version 8.4.8, downloaded 10:26:19 Mon Jan 14, 2019
NormalPanel, Mode Stand-alone
boot kernel: version 8.4.11
NormalPanel
bootloader : version 8.4.11
Currently scheduled reboot time: none

確認鏈結

如果要確認所有鏈結都在運作中並已指派 IP 位址,請執行下列指令:

show interface link state up
範例
Lenovo-BMC#show interface link state up
-----------------------------------------------------------------------
Alias Port Speed Duplex Flow Ctrl Link Description
------- ---- ------ -------- --TX-----RX-- ------ -------------
1 1 1000 full no no up BMCMgmt Ports
2 2 1000 full no no up BMCMgmt Ports
3 3 1000 full no no up BMCMgmt Ports
4 4 1000 full no no up BMCMgmt Ports
8 8 1000 full no no up BMCMgmt Ports
46 8 1000 full no no up BMCMgmt Ports
47 47 1000 full no no up SwitchMgmt Ports
48 48 1000 full no no up SwitchMgmt Ports
XGE1 49 10000 full no no up BMCMgmt Ports
XGE2 50 10000 full no no up BMCMgmt Ports
XGE3 51 10000 full no no up P2P_Rack1/TOR1_To_Rack1/BMC TOR Port 46
XGE4 52 10000 full no no up P2P_Rack1/TOR2_To_Rack1/BMC TOR Port 46

埠 1 到 16 的狀態視解決方案中的節點數目而定。上述範例取自 4 節點解決方案。

另一個可確認 IP 配置和狀態的實用指令:

show interface ip
範例
Lenovo-BMC#show interface ip                 
Interface information:
5: IP4 10.30.8.169 255.255.255.248 10.30.8.175, vlan 5, up
6: IP4 10.30.1.1 255.255.255.128 10.30.8.151, vlan 6, up

Routed Port Interface Information:
XGE3: IP4 10.30.8.146 255.255.255.252 10.30.8.147 , routed , up
XGE4: IP4 10.30.8.150 255.255.255.252 10.30.8.151 , routed , up

Loopback interface information:
lo1: 10.30.30.26 255.255.255.255 10.30.30.26, up

確認 BGP 運作正常

如果要確認 BGP 連線已開啟並已建立階段作業,請執行下列指令:

show ip bgp neighbor summary
範例
Lenovo-BMC#show ip bgp neighbor summary
BGP ON
BGP router identifier 10.30.8.154, local AS number 64675
BGP thid 21, allocs 1168, frees 301, current 147124, largest 5784
BGP Neighbor Summary Information:
Peer V AS MsgRcvd MsgSent Up/Down State
--------------- - -------- -------- -------- -------- ---------------
1: 10.30.8.145 4 64675 106 104 01:41:23 established
2: 10.30.8.149 4 64675 106 104 01:41:23 established

確認 ACL 存在且運作正常

如果要確認 ACL 已就定位且計數器正在遞增,請執行下列指令︰

show access-control
show access-control group
show access-control counters

範例
Lenovo-BMC#show access-control 
Current access control configuration:

Filter 200 profile:
IPv4
- SRC IP : 10.20.3.0/255.255.255.192
- DST IP : 10.20.3.0/255.255.255.192
Meter
- Set to disabled
- Set committed rate : 64
- Set max burst size : 32
Re-Mark
- Set use of TOS precedence to disabled
Actions : Permit
Statistics : enabled
Installed on vlan 125 in
ACL remark note
- "Permit R01-bmc (10.20.3.0/26)_TO_R01-bmc (10.20.3.0/26)"

Filter 202 profile:
IPv4
- SRC IP : 10.20.3.0/255.255.255.192
- DST IP : 10.20.30.40/255.255.255.248
Meter
- Set to disabled
- Set committed rate : 64
- Set max burst size : 32
Re-Mark
- Set use of TOS precedence to disabled
Actions : Permit
Statistics : enabled
Installed on vlan 125 in
ACL remark note
- "Permit R01-bmc (10.20.3.0/26)_TO_R01-SwitchMgmt (10.20.30.40/29)"

Filter 204 profile:
IPv4
- SRC IP : 10.20.3.61/255.255.255.255
- DST IP : 0.0.0.0/0.0.0.0
...

範例
Lenovo-BMC#show access-control group 
Current ACL group Information:
------------------------
ACL group 1 (14 filter level consumed):

- ACL 200
- ACL 202
- ACL 204
- ACL 206
- ACL 208
- ACL 210
- ACL 212
- ACL 214
- ACL 216
- ACL 218
- ACL 220
- ACL 222
- ACL 224
- ACL 226
ACL group 2 (50 filter level consumed):

- ACL 228
- ACL 230
- ACL 232

...

範例
Lenovo-BMC#show access-control counters 
ACL stats:
Hits for ACL 200 vlan 125 in 1357392
Hits for ACL 202 vlan 125 in 60229537
Hits for ACL 204 vlan 125 in 237099377
Hits for ACL 206 vlan 125 in 0
Hits for ACL 208 vlan 125 in 0
Hits for ACL 210 vlan 125 in 0
Hits for ACL 212 vlan 125 in 0
Hits for ACL 214 vlan 125 in 24
Hits for ACL 216 vlan 125 in 0
Hits for ACL 218 vlan 125 in 573818
Hits for ACL 220 vlan 125 in 800950
Hits for ACL 222 vlan 125 in 0
Hits for ACL 224 vlan 125 in 0
Hits for ACL 226 vlan 125 in 447369
Hits for ACL 228 vlan 125 in 1389622
Hits for ACL 230 vlan 125 in 59570795
Hits for ACL 232 vlan 125 in 174516137

...

確認解決方案網路連線功能

在更新的 BMC 交換器中驗證基本系統聚合之後,請測試下列項目的連線功能:

  • 從 BMC 交換器至連接的 TOR 交換器介面進行連線測試

    範例
    Lenovo-BMC#ping 10.30.8.130
    [host 10.30.8.130, max tries 4, delay 1000 msec, length 0, ping source N/S, ttl 255, tos 0]
    10.30.8.130: #1 ok, RTT 7 msec.
    10.30.8.130: #2 ok, RTT 0 msec.
    10.30.8.130: #3 ok, RTT 0 msec.
    10.30.8.130: #4 ok, RTT 0 msec.
    Ping finished.
    Lenovo-BMC#ping 10.30.8.134
    [host 10.30.8.134, max tries 4, delay 1000 msec, length 0, ping source N/S, ttl 255, tos 0]
    10.30.8.134: #1 ok, RTT 0 msec.
    10.30.8.134: #2 ok, RTT 0 msec.
    10.30.8.134: #3 ok, RTT 0 msec.
    10.30.8.134: #4 ok, RTT 0 msec.
    Ping finished.
  • 從 BMC 交換器至 TOR 管理 IP 位址進行連線測試
    範例
    Lenovo-BMC#ping 10.30.8.170
    [host 10.30.8.170, max tries 4, delay 1000 msec, length 0, ping source N/S, ttl 255, tos 0]
    10.30.8.170: #1 ok, RTT 1 msec.
    10.30.8.170: #2 ok, RTT 0 msec.
    10.30.8.170: #3 ok, RTT 0 msec.
    10.30.8.170: #4 ok, RTT 0 msec.
    Ping finished.
    Lenovo-BMC#ping 10.30.8.171
    [host 10.30.8.171, max tries 4, delay 1000 msec, length 0, ping source N/S, ttl 255, tos 0]
    10.30.8.171: #1 ok, RTT 0 msec.
    10.30.8.171: #2 ok, RTT 0 msec.
    10.30.8.171: #3 ok, RTT 0 msec.
    10.30.8.171: #4 ok, RTT 0 msec.
    Ping finished.
  • 從 BMC 交換器至節點 IMM/XCC 進行連線測試

    範例
    Lenovo-BMC#ping 10.30.8.3
    [host 10.30.8.3, max tries 4, delay 1000 msec, length 0, ping source N/S, ttl 255, tos 0]
    10.30.8.3: #1 ok, RTT 1 msec.
    10.30.8.3: #2 ok, RTT 0 msec.
    10.30.8.3: #3 ok, RTT 0 msec.
    10.30.8.3: #4 ok, RTT 0 msec.
    Ping finished.
    Lenovo-BMC#ping 10.30.8.4
    [host 10.30.8.4, max tries 4, delay 1000 msec, length 0, ping source N/S, ttl 255, tos 0]
    10.30.8.4: #1 ok, RTT 0 msec.
    10.30.8.4: #2 ok, RTT 1 msec.
    10.30.8.4: #3 ok, RTT 1 msec.
    10.30.8.4: #4 ok, RTT 1 msec.
    Ping finished.
    Lenovo-BMC#ping 10.30.8.5
    [host 10.30.8.5, max tries 4, delay 1000 msec, length 0, ping source N/S, ttl 255, tos 0]
    10.30.8.5: #1 ok, RTT 0 msec.
    10.30.8.5: #2 ok, RTT 1 msec.
    10.30.8.5: #3 ok, RTT 0 msec.
    10.30.8.5: #4 ok, RTT 1 msec.
    Ping finished.
    Lenovo-BMC#ping 10.30.8.6
    [host 10.30.8.6, max tries 4, delay 1000 msec, length 0, ping source N/S, ttl 255, tos 0]
    10.30.8.6: #1 ok, RTT 1 msec.
    10.30.8.6: #2 ok, RTT 1 msec.
    10.30.8.6: #3 ok, RTT 1 msec.
    10.30.8.6: #4 ok, RTT 1 msec.
    Ping finished.