Configuring Path Cost - 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
The show spanning-tree mst interface interface-id privileged EXEC command displays information only
if the port is in a link-up operative state. Otherwise, you can use the show running-config interface privileged
EXEC command to confirm the configuration.
Related Topics
Specifying the MST Region Configuration and Enabling MSTP , on page 261
Configuring Path Cost , on page 268

Configuring Path Cost

The MSTP path cost default value is derived from the media speed of an interface. If a loop occurs, the MSTP
uses cost when selecting an interface to put in the forwarding state. You can assign lower cost values to
interfaces that you want selected first and higher cost values that you want selected last. If all interfaces have
the same cost value, the MSTP puts the interface with the lowest interface number in the forwarding state and
blocks the other interfaces.
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.
You must also know the specified MST instance ID and the interface used. This example uses 0 as the instance
ID and GigabitEthernet1/0/1 as the interface because that was the instance ID and interface set up by the
instructions listed under Related Topics.
SUMMARY STEPS
1. enable
2. configure terminal
3. interface interface-id
4. spanning-tree mst instance-id cost cost
5. end
DETAILED STEPS
Command or Action
Step 1
enable
Example:
Switch> enable
Consolidated Platform Configuration Guide, Cisco IOS Release 15.2(4)E (Catalyst 2960-X Switches)
268
Purpose
Enables privileged EXEC mode. Enter your password if prompted.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents