Configuring Stp Port Priority - Cisco WS-SUP32-GE-3B - Supervisor Engine 32 Software Configuration Manual

Software configuration guide
Hide thumbs Also See for WS-SUP32-GE-3B - Supervisor Engine 32:
Table of Contents

Advertisement

Configuring STP
To configure a Catalyst 6500 series switch as the secondary root bridge, perform this task:
Command
Step 1
Router(config)# [no] spanning-tree vlan vlan_ID
root secondary [diameter hops [hello-time
seconds]]
Router(config)# no spanning-tree vlan vlan_ID
root
Step 2
Router(config)# end
This example shows how to configure the Catalyst 6500 series switch as the secondary root bridge for
VLAN 10, with a network diameter of 4:
Router# configure terminal
Router(config)# spanning-tree vlan 10 root secondary diameter 4
Router(config)# end
Router#

Configuring STP Port Priority

If a loop occurs, STP considers port priority when selecting a LAN port to put into the forwarding state.
You can assign higher priority values to LAN ports that you want STP to select first and lower priority
values to LAN ports that you want STP to select last. If all LAN ports have the same priority value, STP
puts the LAN port with the lowest LAN port number in the forwarding state and blocks other LAN ports.
The possible priority range is 0 through 240 (default 128), configurable in increments of 16.
Cisco IOS uses the port priority value when the LAN port is configured as an access port and uses VLAN
port priority values when the LAN port is configured as a trunk port.
To configure the STP port priority of a Layer 2 LAN interface, perform this task:
Command
Step 1
Router(config)# interface
{{gigabitethernet 1/port} | {port-channel
port_channel_number}}
Step 2
Router(config-if)# spanning-tree port-priority
port_priority
Router(config-if)# no spanning-tree port-priority
Step 3
Router(config-if)# spanning-tree vlan vlan_ID
port-priority port_priority
Router(config-if)# [no] spanning-tree vlan
vlan_ID port-priority
Step 4
Router(config-if)# end
Catalyst Supervisor Engine 32 PISA Cisco IOS Software Configuration Guide, Release 12.2ZY
17-30
Chapter 17
Purpose
Configures a Catalyst 6500 series switch as the secondary
root bridge. The vlan_ID value can be 1 through 4094,
except reserved VLANs (see
Clears the root bridge configuring.
Exits configuration mode.
Purpose
Selects an interface to configure.
Configures the port priority for the LAN interface. The
port_priority value can be from 1 to 252 in increments
of 4.
Reverts to the default port priority value.
Configures the VLAN port priority for the LAN interface.
The port_priority value can be from 1 to 252 in
increments of 4. The vlan_ID value can be 1 through
4094, except reserved VLANs (see
page
12-2).
Reverts to the default VLAN port priority value.
Exits configuration mode.
Configuring STP and MST
Table 12-1 on page
12-2).
Table 12-1 on
OL-11439-03

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Catalyst supervisor engine 32 pisa

Table of Contents