clear spantree portvlancost

Resets to the default value the cost of a network port or ports on paths to the STP root bridge for a specific VLAN on a DWS-1008 switch, or for all VLANs.

Syntax: clear spantree portvlancost port-list{all vlan vlan-id}

port-list

List of ports. The port cost is reset on the specified ports.

all

Resets the cost for all VLANs.

vlan vlan-idVLAN name or number. MSS resets the cost for only the specified VLAN.

Defaults: None.

Access: Enabled.

Usage: MSS does not change a port’s cost for VLANs other than the one(s) you specify.

Examples: The following command resets the STP cost for port 12 in VLAN sunflower:

DWS-1008# clear spantree portvlancost 12 vlan sunflower success: change accepted.

See Also:

clear spantree portcost

set spantree portcost

set spantree portvlancost

show spantree

show spantree portvlancost

clear spantree portvlanpri

Resets to the default value the priority of a network port or ports for selection as part of the path to the STP root bridge, on one VLAN or all VLANs.

Syntax: clear spantree portvlanpri port-list{all vlan vlan-id}

port-list

List of ports. The port priority is reset to 32 (the default) on the specified ports.

all

Resets the priority for all VLANs.

vlan vlan-idVLAN name or number. MSS resets the priority for only the specified VLAN.

D-Link DWS-1008 CLI Manual

430

Page 433
Image 433
D-Link dws-1008 manual Clear spantree portvlancost, Clear spantree portvlanpri, Resets the cost for all VLANs