3com WX2200 3CRWX220095A User Manual

Page of 750
488
C
HAPTER
 12: STP C
OMMANDS
display spantree
Displays STP configuration and port-state information.
Syntax —
 display spantree [port-list | vlan vlan-id][active]
„
port-list
 — List of ports. If you do not specify any ports, MSS 
displays STP information for all ports.
„
vlan
 
vlan-id
 — VLAN name or number. If you do not specify a VLAN, 
MSS displays STP information for all VLANs.
„
active
 — Displays information for only the active (forwarding) ports.
Defaults — None.
Access — All.
History — Introduced in MSS Version 3.0. Version 4.2 added a value STP 
Off
 for STP-State and Port-State fields. This state indicates that STP is 
disabled on the port. The Disabled state is still used, but only to indicate 
that the port is not forwarding traffic.
Examples — The following command displays STP information for VLAN 
default:
WX1200# display spantree vlan default
VLAN     1
Spanning tree mode           PVST+
Spanning tree type           IEEE
Spanning tree enabled
Designated Root              00-02-4a-70-49-f7
Designated Root Priority     32768
Designated Root Path Cost
 19
Designated Root Port         1
Root Max Age   20 sec   Hello Time 2 sec   Forward Delay 15 sec
Bridge ID MAC ADDR           00-0b-0e-02-76-f7
Bridge ID Priority           32768
Bridge Max Age 20 sec   Hello Time 2 sec   Forward Delay 15 sec
Port               Vlan       STP-State    Cost   Prio   Portfast
------------------------------------------------------------------------------
1
1        Forwarding      19   128     Disabled
2
STP Off
19 
128     Disabled
3
1        Disabled        19   128     Disabled
 1        Disabled        19   128     Disabled
1        Disabled        19   128     Disabled
6
 1        Disabled        19   128     Disabled