Spanning-Tree Cost - Cisco 300 Series Cli Manual

Stackable managed switches
Hide thumbs Also See for 300 Series:
Table of Contents

Advertisement

Spanning-Tree Commands
OL-32830-01 Command Line Interface Reference Guide
Default Configuration
Spanning tree is enabled on all ports.
Command Mode
Interface (Ethernet, Port Channel) Configuration mode
Example
The following example disables the spanning tree on
switchxxxxxx(config)#
switchxxxxxx(config-if)#

46.8 spanning-tree cost

Use the spanning-tree cost Interface (Ethernet, Port Channel) Configuration mode
command to configure the spanning-tree path cost for a port. Use the no form of
this command to restore the default configuration.
Syntax
cost
spanning-tree cost
no spanning-tree cost
Parameters
cost—Specifies the port path cost. (Range: 1–200000000)
Default Configuration
Default path cost is determined by port speed and path cost method (long or short
)as shown below
Interface
Port-channel
Gigabit Ethernet (1000 Mbps)
Ethernet (10 Mbps)
interface
gi1
5
spanning-tree disable
Long
20,000
20,000
2,000,000
5
gi1
Short
4
4
100
46
894

Advertisement

Table of Contents
loading

Table of Contents