| 3.8 Настройка и проверка конфигурации Spanning tree на NEX-5020 |
|
По умолчанию, коммутатор NEX-5020 использует RPVST+. Если требуется узнать, какой Spanning tree протокол работает с данным VLAN. Выполните следующую команду:
NEXUS-5020-1# show spanning-tree vlan 200 VLAN0200 Spanning tree enabled protocol rstp Root ID Priority 32768 Address 001d.a1e5.ec58 Cost 1 Port 4097 (port-channel2) Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec Bridge ID Priority 32984 (priority 32768 sys-id-ext 200) Address 000d.ec6d.7b41 Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec Interface Role Sts Cost Prio.Nbr Type ---------------- ---- --- --------- -------- -------------------------------- Po1 Root FWD 1 128.4097 P2p NEXUS-5020-1# sho spanning-tree active detail VLAN0200 is executing the rstp compatible Spanning Tree protocol Bridge Identifier has priority 32768, sysid 211, address 000d.ec6d.7b41 Configured hello time 2, max age 20, forward delay 15 Current root has priority 32768, address 001d.a1e5.ec58 Root port is 4097 (port-channel1), cost of root path is 1 Topology change flag not set, detected flag not set Number of topology changes 1 last change occurred 0:13:54 ago from port-channel1 Times: hold 1, topology change 35, notification 2 hello 2, max age 20, forward delay 15 Timers: hello 0, topology change 0, notification 0 NEXUS-5020-1# show spanning-tree summary Switch is in rapid-pvst mode Root bridge for: none Port Type Default is disable Edge Port [PortFast] BPDU Guard Default is disabled Edge Port [PortFast] BPDU Filter Default is disabled Bridge Assurance is disabled Loopguard Default is disabled Pathcost method used is short Name Blocking Listening Learning Forwarding STP Active ---------------------- -------- --------- -------- ---------- ---------- VLAN0200 0 0 0 1 1 ---------------------- -------- --------- -------- ---------- ---------- 1 vlan 0 0 0 1 1
|


