Set Spantree Portcost - 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

Examples: The following command changes the maximum acceptable age for root bridge hello
packets on all VLANs to 15 seconds:
DWS-1008# set spantree maxage 15 all
success: change accepted.
See Also:
• show spantree

set spantree portcost

Changes the cost that transmission through a network port or ports in the default VLAN on a
switch adds to the total cost of a path to the STP root bridge.
Syntax: set spantree portcost port-list cost cost
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.
Defaults: The default port cost depends on the port speed and link type. The table below lists the
defaults for STP port path cost.
Port Speed
100 Mbps
100 Mbps
100 Mbps
10 Mbps
10 Mbps
10 Mbps
Access: Enabled.
Usage: This command applies only to the default VLAN (VLAN 1). To change the cost of a port
in another VLAN, use the set spantree portvlancost command.
Examples: The following command changes the cost on ports 3 and 4 to 20:
DWS-1008# set spantree portcost 3,4 cost 20
success: change accepted.
See Also:
• clear spantree portcost
• clear spantree portvlancost
• set spantree portvlancost
• show spantree
• show spantree portvlancost
D-Link DWS-1008 CLI Manual
Link Type
Full Duplex Aggregate Link (Port Group)
Full Duplex
Half Duplex
Full Duplex Aggregate Link (Port Group)
Full Duplex
Half Duplex
Default Port Path
Cost
19
18
19
19
95
100


Advertisement

Table of Contents
loading

Table of Contents