Configuring Port Priority - Cisco Catalyst 2960-XR Configuration Manual

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

Advertisement

Configuring Spanning Tree Protocol
Command or Action
Example:
Switch(config)# spanning-tree vlan
20-24 root secondary diameter 4
Step 3
end
Example:
Switch(config)# end

Configuring Port Priority

If your switch is a member of a switch stack, you must use the spanning-tree [vlan vlan-id] cost cost
Note
interface configuration command instead of the spanning-tree [vlan vlan-id] port-priority priority
interface configuration command to select an interface to put in the forwarding state. Assign lower cost
values to interfaces that you want selected first and higher cost values that you want selected last.
This procedure is optional.
Beginning in privileged EXEC mode, follow these steps to configure port priority:
SUMMARY STEPS
1. configure terminal
2. interface interface-id
3. spanning-tree port-priority priority
4. spanning-tree vlan vlan-id port-priority priority
5. end
OL-29424-01
Purpose
• For vlan-id, you can specify a single VLAN identified by VLAN
ID number, a range of VLANs separated by a hyphen, or a series
of VLANs separated by a comma. The range is 1 to 4094.
• (Optional) For diameter net-diameter, specify the maximum
number of switches between any two end stations. The range is 2
to 7.
Use the same network diameter value that you used when configuring
the primary root switch.
Returns to privileged EXEC mode.
Catalyst 2960-XR Switch Layer 2 Configuration Guide, Cisco IOS Release 15.0(2)EX1
Configuring Port Priority
31

Advertisement

Table of Contents
loading

Table of Contents