Set Spantree Portvlancost; Set Spantree Portvlanpri - D-Link DWS-1008 Cli Reference Manual

8 port 10/100 wireless switch with power over ethernet
Hide thumbs Also See for DWS-1008:
Table of Contents

Advertisement

set spantree portvlancost

Changes the cost of a network port or ports on paths to the STP root bridge for a specific VLAN
on an switch.
Syntax: set spantree portvlancost port-list cost cost {all | vlan vlan-id}
port-list
List of ports. MSS applies the cost change to all the specified ports.
cost cost
Numeric value. You can specify a value from 1 through 65,535. STP selects
lower-cost paths over higher-cost paths.
all
Changes the cost on all VLANs.
vlan vlan-id VLAN name or number. MSS changes the cost on only the specified VLAN.
Defaults: The default port cost depends on the port speed and link type.
Access: Enabled.
Examples: The following command changes the cost on ports 3 and 4 to 20 in VLAN mauve:
DWS-1008# set spantree portvlancost 3,4 cost 20 vlan mauve
success: change accepted.
See Also:
• clear spantree portcost
• clear spantree portvlancost
• set spantree portcost
• show spantree
• show spantree portvlancost

set spantree portvlanpri

Changes 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: set spantree portvlanpri port-list priority value {all | vlan vlan-id}
port-list
priority value
all
vlan vlan-id
D-Link DWS-1008 CLI Manual
List of ports. MSS changes the priority on the specified ports.
Priority value. You can specify a value from 0 (highest priority) through 255
(lowest priority).
Changes the priority on all VLANs.
VLAN name or number. MSS changes the priority on only the specified
VLAN.


Advertisement

Table of Contents
loading

Table of Contents