D-Link DWS-1008 CLI Manual
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
Link Type
Default Port Path
Cost
100 Mbps
Full Duplex Aggregate Link (Port Group)
19
100 Mbps
Full Duplex
18
100 Mbps
Half Duplex
19
10 Mbps
Full Duplex Aggregate Link (Port Group)
19
10 Mbps
Full Duplex
95
10 Mbps
Half Duplex
100
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
Содержание DWS-1008
Страница 1: ......
Страница 27: ...D Link DWS 1008 CLI Manual 24 ...