Spanning-Tree Commands
OL-32830-01 Command Line Interface Reference Guide 918
46
switchxxxxxx#
show spanning-tree ethernet
gi1
1
Port 1 (
gi1
1) enabled
State: Forwarding
Port id: 128.1
Type: P2p (configured: auto) RSTP
Designated bridge Priority: 32768
Designated port id: 128.25
Guard root: Disabled
Role: Root
Port cost: 20000
Port Fast: No (configured:no)
Address: 00:01:42:97:e0:00
Designated path cost: 0
BPDU guard: Disabled
Number of transitions to forwarding state: 1
BPDU: sent 2, received 120638
switchxxxxxx#
show spanning-tree mst-configuration
Name: Region1
Revision: 1
Instance
--------
1
2
Vlans mapped
------------
1-9, 21-4094
10-20
State
---------
Enabled
Enabled
switchxxxxxx#
show spanning-tree
Spanning tree enabled mode MSTP
Default port cost method: long
###### MST 0 Vlans Mapped: 1-9
CST Root ID Priority
Address
Path Cost
Root Port
32768
00:01:42:97:e0:00
20000
gi1
1
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
IST Master ID Priority
Address
32768
00:02:4b:29:7a:00
This switch is the IST master.
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Max hops 20
Interfaces