본문으로 건너뛰기

BMC 스위치 기능 확인

BMC 스위치를 업데이트한 후 솔루션 구성에 따라 스위치가 완전히 작동하는지 확인하십시오.

스위치 펌웨어를 업데이트하기 전에 스위치의 실행 구성을 저장된 백업 구성 파일과 비교하는 것 외에도 제시된 검증 절차를 통해 다음 사항을 확인할 수 있습니다.

  • 스위치 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 스위치 IP 인터페이스로 핑

    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.