Spanning-Tree Port-Priority - Cisco Catalyst 2950 Command Reference Manual

Desktop switch
Hide thumbs Also See for Catalyst 2950:
Table of Contents

Advertisement

Chapter 2 Cisco IOS Commands

spanning-tree port-priority

Use the spanning-tree port-priority interface configuration command to configure an interface
priority. If a loop occurs, spanning tree can determine which interface to put in the forwarding state. Use
the no form of this command to return to the default setting.
Syntax Description
vlan vlan-id
priority
Defaults
The default is 128.
Command Modes
Interface configuration
Command History
Release
12.0(5.2)WC(1)
Usage Guidelines
If the variable vlan-id is omitted, the command applies to the spanning-tree instance associated with
VLAN 1.
You can set the priority on a VLAN that has no interfaces assigned to it. The setting takes effect when
you assign the interface to the VLAN.
Examples
This example shows how to increase the likelihood that the Fast Ethernet interface 0/2 will be put in the
forwarding state if a loop occurs:
Switch(config)# interface fastethernet0/2
Switch(config-if)# spanning-tree vlan 20 port-priority 0
You can verify your settings by entering the show spanning-tree interface interface-id privileged
EXEC command.
78-11381-05
spanning-tree [vlan vlan-id] port-priority priority
no spanning-tree [vlan vlan-id] port-priority
(Optional) VLAN ID associated with a spanning-tree instance. The range is 1 to
4094 when the enhanced software image (EI) is installed and 1 to 1005 when the
standard software image (SI) is installed. Do not enter leading zeros.
Number from 0 to 255. The lower the number, the higher the priority.
Modification
This command was first introduced.
Catalyst 2950 Desktop Switch Command Reference
spanning-tree port-priority
2-273

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents