Configuring Port Priority - Cisco Catalyst 2960 series Configuration Manual

Consolidated platform configuration guide, ios release 15.2(4)e
Hide thumbs Also See for Catalyst 2960 series:
Table of Contents

Advertisement

How to Configure MSTP Features
Command or Action
Step 2
configure terminal
Example:
Switch# configure terminal
Step 3
spanning-tree mst instance-id root secondary
Example:
Switch(config)# spanning-tree mst 0 root
secondary
Step 4
end
Example:
Switch(config)# end
Related Topics
Specifying the MST Region Configuration and Enabling MSTP , on page 261
Configuring the Root Switch , on page 264

Configuring Port Priority

If a loop occurs, the MSTP uses the port priority when selecting an interface to put into the forwarding state.
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 MSTP puts the interface with the lowest interface number in the forwarding state and blocks
the other interfaces.
Note
If the switch is a member of a switch stack, you must use the spanning-tree mst [instance-id] cost cost
interface configuration command instead of the spanning-tree mst [instance-id] port-priority priority
interface configuration command to select a port to put in the forwarding state. Assign lower cost values
to ports that you want selected first and higher cost values to ports that you want selected last. For more
information, see the path costs topic listed under Related Topics.
This procedure is optional.
Before You Begin
A multiple spanning tree (MST) must be specified and enabled on the switch. For instructions, see Related
Topics.
Consolidated Platform Configuration Guide, Cisco IOS Release 15.2(4)E (Catalyst 2960-X Switches)
266
Purpose
Enters the global configuration mode.
Configures a switch as the secondary root switch.
• For instance-id, you can specify a single instance, a range
of instances separated by a hyphen, or a series of instances
separated by a comma. The range is 0 to 4094.
Returns to privileged EXEC mode.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents