show spantree portvlancost

Displays the cost of a port on a path to the STP root bridge, for each of the port’s VLANs.

Syntax: show spantree portvlancost port-list

port-list

List of ports.

Defaults: None.

Access: All.

Examples: The following command shows the STP port cost of port 1:

DWS-1008# show spantree portvlancost 1 port 1 VLAN 1 have path cost 19

See Also:

clear spantree portcost

clear spantree portvlancost

set spantree portcost

set spantree portvlancost

show spantree

show spantree statistics

Displays STP statistics for one or more switch network ports.

Syntax: show spantree statistics [port-list [vlan vlan-id]]

port-listList of ports. If you do not specify any ports, MSS displays STP statistics for all ports.

vlan vlan-idVLAN name or number. If you do not specify a VLAN, MSS displays STP statistics for all VLANs.

Defaults: None.

Access: All.

Usage: The command displays statistics separately for each port.

D-Link DWS-1008 CLI Manual

444

Page 447
Image 447
D-Link dws-1008 manual Show spantree portvlancost, Show spantree statistics, Syntax show spantree portvlancost port-list