PurposeCommand or Action
Returns to privileged EXEC mode.end
Example:
Switch(config)# end
Step 4
Configuring Port Priority
If your switch is a member of a switch stack, you must use the spanning-tree [vlan vlan-id] cost cost
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.
Note
This procedure is optional.
SUMMARY STEPS
1.
enable
2.
configure terminal
3.
interface interface-id
4.
spanning-tree port-priority priority
5.
spanning-tree vlan vlan-id port-priority priority
6.
end
DETAILED STEPS
PurposeCommand or Action
Enables privileged EXEC mode. Enter your password if prompted.enable
Step 1
Example:
Switch> enable
Enters the global configuration mode.configure terminal
Example:
Switch# configure terminal
Step 2
Consolidated Platform Configuration Guide, Cisco IOS Release 15.2(4)E (Catalyst 2960-X Switches)
230
How to Configure Spanning-Tree Features