Spanning-Tree Port-Priority - Cisco 300 Series Cli Manual

Small business 300 series managed switches command line interface guide release 1.3
Hide thumbs Also See for 300 Series:
Table of Contents

Advertisement

Spanning-Tree Commands
78-21075-01 Command Line Interface Reference Guide
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)
Command Mode
Interface Configuration (Ethernet, port-channel) mode
Example
The following example configures the spanning-tree cost on gi15 to 35000.
switchxxxxxx(config)# interface gi15
switchxxxxxx(config-if)# spanning-tree cost 35000
31.9

spanning-tree port-priority

Use the spanning-tree port-priority Interface Configuration (Ethernet,
port-channel) mode command to configure the port priority. Use the no form of this
command to restore the default configuration.
Syntax
spanning-tree port-priority
no spanning-tree port-priority
Long
20,000
20,000
2,000,000
priority
Short
4
4
100
31
457

Advertisement

Table of Contents
loading

Table of Contents