D-Link DWS-1008 User Manual
1
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:
show spantree portvlancost
port-list
This command displays the same information as the show spantree command’s Cost field in a concise
format for all VLANs. The
show spantree command lists all the STP information separately for each
VLAN.
To display the STP port cost of port 1, type the following command:
DWS-1008#
show spantree portvlancost 1
port 1 VLAN 1 have path cost 19
Displaying Blocked STP Ports
To display information about ports that are in the STP blocking state, use the following command:
show spantree blockedports [vlan
vlan-id
]
To display information about blocked ports on a switch for the default VLAN (VLAN 1), type the following
command:
DWS-1008#
show spantree blockedports vlan default
Port
Vlan Port-State
Cost Prio Portfast
-----------------------------------------------------------------------
5
190 Blocking
4
128 Disabled
Number of blocked ports (segments) in VLAN 1 : 1
Содержание DWS-1008
Страница 1: ......