3com WX1200 用户手册

下载
页码 646
398
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.
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       Port-State    Cost   Prio   Portfast
------------------------------------------------------------------------------
1                   1        Forwarding      19   128     Disabled
2                   1        Disabled        19   128     Disabled
3                   1        Disabled        19   128     Disabled
4                   1        Disabled        19   128     Disabled
5                   1        Disabled        19   128     Disabled
6
 1        Forwarding      19   128     Disabled
7                   1        Disabled        19   128     Disabled
8                   1        Disabled        19   128     Disabled