第5段:查看STP信息
SW1#sh spantree 10 VLAN1O is executing the IEEE compatible Spanning Tree Protocol Bridge Identifier has priority 32768,address 0004.DD4E.9C81 Configured hello time 2, max age 20, forward delay 15 Current root has priority Root port is FastEthernet0/26,cost of root path is 10 Topology change flag not set, detected flag not set Topology changes 1, last topology change occured 0d00h04ml0s ago Times: hold 1, topology change 8960 hello 2, max age 20, forward delay 15 Timers: hello 2, topology change 35, notification 2 Port Ethernet 0/1 of VLANIO is Forwarding Port path cost 100, Port priority 128 Designated root has priority 32768, address 0004.27C4.2401 Designated bridge has priority 32768, address 0004.DD4E.9C81 Designated port is 1, path cost 10 Timers: message age 20, forward delay 15, hold 1 Port Ethernet 0/10 of VLANIO is Forwarding Port path cost 100, Port priority 128 Designated root has priority 32768,address 0004.27C4.2401 Designated bridge has priority 32768,address 0004.DD4E.9C81 Designated port is 10, path cost 10 Timers: message age 20, forward delay 15, hold 1 Port FastEthernet 0/26 of VLANIO is Forwarding Port path cost 10, Port priority 128 Designated root has priority 32768,address 0004.27C4.2401 Designated bridge has priority 32768, address 0004.27C4.2401 Designated port is 26, path cost 0 Timers: message age 20, forward delay 15, hold 1 SW1# SW1#conft Enter configuration commands, one per line. End with CNTL/Z SW1(config)#no spantree 10 SW1(config)# SW1#sh spantree 10 Error>r:-STP is not enabled for VLAN 10 SW1# |