3Com WX2200 3CRWX220095A Switch User Manual


 
362 CHAPTER 17: CONFIGURING AND MANAGING SPANNING TREE PROTOCOL
To list only the ports that are in the active (forwarding) state, enter the
active option.
To display STP information for VLAN mauve, type the following command:
WX1200# display spantree vlan mauve
VLAN 3
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 1 Blocking 19 128 Disabled
3 1 Blocking 19 128 Disabled
5 1 Forwarding 19 128 Disabled
6 1 Blocking 19 128 Disabled
In this example, VLAN mauve contains ports 1 through 3, 5 and 6. Ports 1
and 5 are forwarding traffic. The other ports are blocking traffic.
(For more information about the fields in the output, see the Wireless
LAN Switch and Controller Command Reference.)
Displaying the STP
Port Cost on a VLAN
Basis
To display a brief list of the STP port cost for a port in each of its VLANs,
use the following command:
display spantree portvlancost port-list
This command displays the same information as the display spantree
command’s Cost field in a concise format for all VLANs. The display
spantree command lists all the STP information separately for each VLAN.
To display the STP port cost of port 1, type the following command:
WX1200# display spantree portvlancost 1
port 1 VLAN 1 have path cost 19