Skip to main content

Verify BMC switch functionality

After updating the BMC switch, ensure that the switch is fully functional, based on the solution configuration.

In addition to comparing the running configuration of the switch to the backup configuration file saved before updating the switch firmware, these suggested validation procedures help to verify that:

  • Switch NOS is updated and set to boot to it

  • All links are up and IP addresses are assigned

  • BGP connections are up and sessions are established

  • ACLs are in place and counters are incrementing

Perform each of the following tasks to ensure that the updated BMC switch is working properly before proceeding.

Verify BMC switch update

To verify that the switch NOS update has been applied and the switch is set to boot to the updated image, sign in to the BMC switch and run the following command:

show boot
Example
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

To verify that all links are up and IP addresses are assigned, run the following command:

show interface link state up
Example
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

Note
The state of ports 1 through 16 depends on the number of nodes in the solution. The above example is from a 4-node solution.

Another useful command to verify IP configuration and state:

show interface ip
Example
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

Verify BGP is operational

To verify that the BGP connections are up and sessions are established, run the following command:

show ip bgp neighbor summary
Example
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

Verify ACLs are present and operational

To verify that ACLs are in place and counters are incrementing, run the following command:

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

Example
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
...

Example
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

...

Example
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

...

Verify solution network connectivity

Once the basic system convergence is verified in the updated BMC switch, test connectivity for the following:

  • Ping from BMC switch to connected TOR switch IP interfaces

    Example
    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.
  • Ping from BMC switch to TOR Mgmt IP addresses
    Example
    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.
  • Ping from BMC switch to node IMMs/XCCs

    Example
    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.