Configuring A Secondary Root Switch - Cisco Catalyst 4500 Series Configuration Manual

Release ios xe 3.3.0sg and ios 15.1(1)sg
Hide thumbs Also See for Catalyst 4500 Series:
Table of Contents

Advertisement

Configuring STP
Port 324 (FastEthernet6/4) of VLAN1 is listening
Port path cost 19, Port priority 128, Port Identifier 129.68.
Designated root has priority 8192, address 0030.94fc.0a00
Designated bridge has priority 8192, address 0030.94fc.0a00
Designated port id is 129.68, designated path cost 0
Timers:message age 0, forward delay 5, hold 0
Number of transitions to forwarding state:0
BPDU:sent 6, received 102
Switch#
Because the bridge priority is now set at 8192, this switch becomes the root of the spanning tree.
Note

Configuring a Secondary Root Switch

When you configure a switch as the secondary root, the spanning tree bridge priority is modified from
the default value (32,768) to 16,384. This means that the switch is likely to become the root bridge for
the specified VLANs if the primary root bridge fails (assuming the other switches in the network use the
default bridge priority of 32,768).
You can run this command on more than one switch to configure multiple backup root switches. Use the
same network diameter and hello time values that you used when configuring the primary root switch.
We recommend that you avoid manually configuring the hello time, forward delay time, and maximum
Note
age time after configuring the switch as the root bridge.
To configure a switch as the secondary root switch, perform this task:
Command
Step 1
Switch(config)# [no] spanning-tree vlan vlan_ID
root secondary [diameter hops [hello-time
seconds]]
Step 2
Switch(config)# end
This example shows how to configure the switch as the secondary root switch for VLAN 10, with a
network diameter of 4:
Switch# configure terminal
Switch(config)# spanning-tree vlan 10 root secondary diameter 4
VLAN 10 bridge priority set to 16384
VLAN 10 bridge max aging time set to 14
VLAN 10 bridge hello time unchanged at 2
VLAN 10 bridge forward delay set to 10
Switch(config)# end
Switch#
This example shows how to verify the configuration of VLAN 1:
Switch#sh spanning-tree vlan 1
VLAN0001
Spanning tree enabled protocol ieee
Root ID
Software Configuration Guide—Release IOS XE 3.3.0SG and IOS 15.1(1)SG
20-12
Priority
32768
Address
0003.6b10.e800
This bridge is the root
Chapter 20
Purpose
Configures a switch as the secondary root switch.
Use the no keyword to restore the defaults.
Exits configuration mode.
Configuring STP and MST
OL-25340-01

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents