![D-Link DXS-3250 - xStack Switch - Stackable Cli Manual Download Page 304](http://html1.mh-extra.com/html/d-link/dxs-3250-xstack-switch-stackable/dxs-3250-xstack-switch-stackable_cli-manual_4139512304.webp)
Spanning-Tree Commands
Page 303
spanning-tree cost
The
spanning-tree cost
Interface Configuration mode command configures the spanning tree path cost for a
port. To return to the default configuration, use the
no
form of this command.
Syntax
spanning-tree cost cost
no spanning-tree cost
Parameters
•
cost
— Path cost of the port (Range: 1 - 200,000,000)
Default Configuration
Default path cost is determined by port speed and path cost method (long or short) as shown below:
Command Modes
Interface Configuration (Ethernet, port-channel) mode
User Guidelines
The path cost method is configured using the
spanning-tree pathcost method
Global Configuration mode
command.
Example
The following example configures the spanning-tree cost on Ethernet port 1/15 to 35000.
Interface
Long
Short
Port-channel
20,000
4
Gigabit Ethernet (1000 Mbps)
20,000
4
Fast Ethernet (100 Mbps)
200,000
19
Ethernet (10 Mbps)
2,000,000
100
Console(config)#
interface ethernet
1/15
Console(config-if)#
spanning-tree cost
35000
Summary of Contents for DXS-3250 - xStack Switch - Stackable
Page 12: ...Page 11 ...
Page 46: ...ACL Commands Page 45 ...
Page 68: ...Address Table Commands Page 67 ...
Page 124: ...Ethernet Configuration Commands Page 123 ...
Page 134: ...GVRP Commands Page 133 ...
Page 144: ...IGMP Snooping Commands Page 143 ...
Page 158: ...IP Addressing Commands Page 157 Console config ip helper address 172 16 9 9 49 53 ...
Page 166: ...IP Addressing Commands Page 165 ...
Page 186: ...Line Commands Page 185 ...
Page 194: ...Management ACL Commands Page 193 ...
Page 200: ...PHY Diagnostics Commands Page 199 ...
Page 208: ...Port Monitor Commands Page 207 ...
Page 216: ...Power over Ethernet Commands Page 215 ...
Page 272: ...RMON Commands Page 271 ...
Page 334: ...Spanning Tree Commands Page 333 ...
Page 428: ...VLAN Commands Page 427 ...
Page 466: ...802 1x Commands Page 465 ...