Spanning-Tree Cost - Planet Networking & Communication WGSD-1022 User Manual

8-port 10/100mbps + 2-port gigabit tp/sfp combo managed ethernet switch
Table of Contents

Advertisement

User Guidelines
There are no user guidelines for this command.
Example
The following example disables spanning-tree on e5.
Console (config)# interface ethernet e5
Console (config-if)# spanning-tree disable

5.21.8 spanning-tree cost

The spanning-tree cost interface configuration command configures the spanning-tree path cost for a
port. To reset the default port path cost, use the no form of this command.
Syntax
spanning-tree cost cost
no spanning-tree cost
cost — The port path cost (Range: 1 - 200,000,000 )
Default Configuration
The default costs are as follows:
Port Channel — 20,000
1000 mbps (giga) — 20,000
100 mbps — 200,000
10 mbps — 2,000,000
Command Modes
Interface Configuration (Ethernet, port-channel) mode
User Guidelines
The method used (long or short) is set by using the spanning-tree pathcost method command.
Example
The following example configures the spanning-tree cost on e5 to 35000.
Console(config)# interface ethernet e5
Console(config-if)# spanning-tree cost 35000

Advertisement

Table of Contents
loading

Table of Contents