hit counter script

Spanning-Tree Mst Port-Priority - Cisco Catalyst 2960-X Command Reference Manual

Layer 2
Hide thumbs Also See for Catalyst 2960-X:
Table of Contents

Advertisement

Layer 2 Commands

spanning-tree mst port-priority

To set the priority for an interface, use the spanning-tree mst port-priority command in interface configuration
mode. To revert to the default value, use the no form of this command.
spanning-tree mst instance-id port-priority priority
no spanning-tree mst instance-id port-priority
Syntax Description
instance-id
priority
Command Default
The default is 128.
Command Modes
Interface configuration
Command History
Release
Cisco IOS 15.0(2)EX
Usage Guidelines
You can assign higher priority values (lower numerical values) to interfaces that you want selected first and
lower priority values (higher numerical values) that you want selected last. If all interfaces have the same
priority value, the multiple spanning tree (MST) puts the interface with the lowest interface number in the
forwarding state and blocks other interfaces.
If the switch is a member of a switch stack, you must use the spanning-tree mst instance_id cost cost
command to select an interface to put in the forwarding state.
Examples
This example shows how to increase the likelihood that the interface associated with spanning-tree instances
20 and 22 is placed into the forwarding state if a loop occurs:
Switch(config)# interface gigabitethernet2/0/1
Switch(config-if)# spanning-tree mst 20,24 port-priority 0
Related Commands
Command
spanning-tree mst cost
spanning-tree mst priority
OL-29043 -01
Range of spanning-tree instances. The range is 1 to 4094.
Priority. The range is 0 to 240 in increments of 16.
Modification
This command was introduced.
Description
Configures the path cost for MST calculations.
Sets the priority for the specified MST.
Catalyst 2960-X Switch Layer 2 Command Reference, Cisco IOS Release 15.0(2)EX
spanning-tree mst port-priority
99

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents