Redundant Switch Supervisors - Root Bridge - Cisco Certified Expert (2024)

Last Updated on Tue, 04 Apr 2023 |Root Bridge

Redundant Switch Supervisors - Root Bridge - Cisco Certified Expert (1)

Modular switch platforms such as the Catalyst 4500R and 6500 can accept two supervisor modules installed in a single chassis. The first supervisor module to successfully boot up becomes the active supervisor for the chassis. The other supervisor remains in a standby role, waiting for the active supervisor to fail.

The active supervisor always is allowed to boot up and become fully initialized and operational. All switching functions are provided by the active supervisor. The standby supervisor, however, is allowed to boot up and initialize only to a certain level. When the active module fails, the standby module can proceed to initialize any remaining functions and take over the active role.

Redundant supervisor modules can be configured in several modes. The redundancy mode affects how the two supervisors handshake and synchronize information. In addition, the mode limits the standby supervisor's state of readiness. The more ready the standby module is allowed to become, the less initialization and failover time will be required.

You can use the following redundancy modes on Catalyst switches:

■ Route Processor Redundancy (RPR)—The redundant supervisor is only partially booted and initialized. When the active module fails, the standby module must reload every other module in the switch and then initialize all the supervisor functions.

■ Route Processor Redundancy Plus (RPR+)—The redundant supervisor is booted, allowing the supervisor and route engine to initialize. No Layer 2 or Layer 3 functions are started, however. When the active module fails, the standby module finishes initializing without reloading other switch modules. This allows switch ports to retain their state.

Stateful Switchover (SSO)—The redundant supervisor is fully booted and initialized. Both the startup and running configuration contents are synchronized between the supervisor modules. Layer 2 information is maintained on both supervisors so that hardware switching can continue during a failover. The state of the switch interfaces is also maintained on both supervisors so that links don't flap during a failover.

TIP Sometimes the redundancy mode terminology can be confusing. In addition to the RPR, RPR+, and SSO terms, you might see Single Router Mode (SRM) and Dual Router Mode (DRM).

SRM simply means that two route processors (integrated into the supervisors) are being used, but only one of them is active at any time. In DRM, two route processors are active at all times. HSRP usually is used to provide redundancy in DRM.

Although RPR and RPR+ have only one active supervisor, the route processor portion is not initialized on the standby unit. Therefore, SRM is not compatible with RPR or RPR+.

SRM is inherent with SSO, which brings up the standby route processor. You usually will find the two redundancy terms together, as "SRM with SSO."

Configuring the Redundancy Mode

Table 13-5 details the redundancy modes you can configure on supported switch platforms.

Table 13-5 Redundancy Modes, Platform Support, and Failover Time

Table 13-5 Redundancy Modes, Platform Support, and Failover Time

Redundancy Mode

Supported Platforms

Failover Time

RPR

Catalyst 6500 Supervisors 2 and 720, Catalyst 4500R Supervisors IV and V

Good (> 2 minutes)

Route Processor Redundancy Plus (RPR+)

Catalyst 6500 Supervisors 2 and 720

Better (> 30 seconds)

Stateful Switchover (SSO)

Catalyst 6500 Supervisor 720, Catalyst 4500R Supervisors IV and V

Best (> 1 second)

Figure 13-5 shows how the supervisor redundancy modes compare with respect to the functions they perform. The shaded functions are performed as the standby supervisor initializes and then waits for the active supervisor to fail. When a failure is detected, the remaining functions must be performed in sequence before the standby supervisor can become fully active. Notice how the redundancy modes get progressively more initialized and ready to become active.

Figure 13-5 Standby Supervisor Readiness as a Function of Redundancy Mode

Figure 13-5 Standby Supervisor Readiness as a Function of Redundancy Mode

Standby Initializes

Supervisor Bootstrap Image Loaded

Supervisor Bootstrap Image Loaded

Supervisor Bootstrap Image Loaded

IOS Image Loaded

IOS Image Loaded

IOS Image Loaded

Sync Startup-Config

Sync Startup-Config

Sync Startup-Config

Supervisor Diagnostics

Supervisor Diagnostics

Supervisor Diagnostics

1

SBP

Active Fails

All Switch Modules Reloaded

\

Route Engine Initialized

\

Route Engine Initialized

Route Engine Initialized

Layer 2 Protocols Initialized

j

Layer 2 Protocols Initialized

j

\

Layer 2 Protocols Initialized

\

FIB Table Synchronized

Layer 3 Protocols Initialized

Layer 3 Protocols Initialized

Layer 3 Protocols Initialized

NSF

(Optional Optimization)

Routing Protocols Converge

Routing Protocols Converge

Routing Protocols Converge

FIB Table Flushed and Re-Created

FIB Table Flushed and Re-Created

FIB Table Updated

RPR

RPR +

SSO

You can configure the supervisor redundancy mode by entering the redundancy-configuration mode with the following command:

Router(config)# redundancy

Next, select the redundancy mode with one of the following commands:

Router(config-red)# mode {rpr | rpr-plus | sso} If you are configuring redundancy for the first time on the switch, you must enter the previous commands on both supervisor modules. When the redundancy mode is enabled, you will make all configuration changes on the active supervisor only. The running configuration is synchronized automatically from the active to the standby module.

TIP If you configure RPR+ with the rpr-plus keyword, the supervisor attempts to bring up RPR+ with its peer module. The IOS images must be of exactly the same release before RPR+ will work. If the images differ, the supervisor automatically falls back to RPR mode instead.

You can verify the redundancy mode and state of the supervisor modules by using the following command:

Router# show redundancy states The output in Example 13-10 shows that the switch is using RPR+ and that the second supervisor module (denoted by unit ID 2 and "my state") holds the active role. The other supervisor module is in the standby state and is "HOT," meaning that it has initialized as far as the redundancy mode will allow.

Example 13-10 Verifying Supervisor Module Redundancy Mode and State

Router# show redundancy states

my state

= 13 -ACTIVE

peer state

= 8 -STANDBY HOT

Mode

= Duplex

Unit

= Secondary

Unit ID

= 2

Redundancy Mode

(Operational) = Route Processor

Redundancy

Plus

Redundancy Mode

(Configured) = Route Processor

Redundancy

Plus

Split Mode

= Disabled

Manual Swact

= Enabled

Communications

= Up

client count

= 11

client_notification_TMR = 30000 milliseconds

keep_alive TMR = 9000 milliseconds

keep_alive count = 1

keep_alive threshold = 18

RF debug mask = 0x0

Router#

Configuring Supervisor Synchronization

By default, the active supervisor synchronizes its startup configuration and configuration register values with the standby supervisor. You also can specify other information that should be synchronized.

First, use the following commands to enter the main-cpu configuration mode:

Router(config)# redundancy Router(config-red)# main-cpu

Then use the following command to specify the information that will be synchronized:

Router(config-r-mc)# auto-sync {startup-config I config-register I bootvar}

You can repeat the command if you need to use more than one of the keywords. To return to the default, use the auto-sync standard command.

Non-Stop Forwarding

You can enable another redundancy feature along with SSO on the Catalyst 4500R and 6500 (Supervisor 720 only). Non-Stop Forwarding (NSF) is an interactive method that focuses on quickly rebuilding the routing information base (RIB) table after a supervisor switchover. The RIB is used to generate the FIB table for CEF, which is downloaded to any switch modules or hardware that can perform CEF.

Instead of waiting on any configured Layer 3 routing protocols to converge and rebuild the FIB, a router can use NSF to get assistance from other NSF-aware neighbors. The neighbors then can provide routing information to the standby supervisor, allowing the routing tables to be assembled quickly. In a nutshell, the Cisco-proprietary NSF functions must be built into the routing protocols on both the router that will need assistance and the router that will provide assistance.

NSF is supported by the BGP, EIGRP, OSPF, and IS-IS routing protocols. NSF is available on the Catalyst 6500 Supervisor 720 (with the integrated MSFC3) and on the Catalyst 4500R Supervisor III, IV, and V running IOS Software Release 12.2(20)EWA or later.

To configure NSF, you must add the commands in Table 13-6 to any routing protocol configuration on the switch.

Table 13-6 Configuring NSF (by Routing Protocol)

Table 13-6 Configuring NSF (by Routing Protocol)

Routing Protocol

Configuration Commands

BGP

Router(config)# router bgp as-number Router(config-router)# bgp graceful-restart

EIGRP

Router(config)# router eigrp as-number Router(config-router)# nsf

OSPF

Router(config)# router ospf process-id Router(config-router)# nsf

IS-IS

Router(config)# router isis [tag] Router(config-router)# nsf [cisco 1 ietf] Router(config-router)# nsf interval [minutes] Router(config-router)# nsf t3 {manual [seconds] 1 adjacency} Router(config-router)# nsf interface wait seconds

Continue reading here: Redundant Power Supplies

Was this article helpful?

Redundant Switch Supervisors - Root Bridge - Cisco Certified Expert (2024)

FAQs

What is redundancy in Cisco switch? ›

1:1 redundancy is used to assign active and standby roles to specific switches in the stack. This overrides the traditional N+1 role selection algorithm, where any switch in the stack can be active or standby.

What is the root bridge election for a Cisco switch? ›

The Root Bridge Election

The default value is 32768, and the lowest number is preferred. In the case of a tie, the switch with the lowest MAC address will be selected. If you do not manually set the Bridge priority on your switches, they're all going to default to 32768.

Which criteria is considered when electing the root bridge? ›

The root bridge is selected by manually configuring its bridge priority to a low value. 32768 is the default value out of a range from 0 to 61440. If all switches in a single spanning tree have the same bridge priority, the switch with the lowest MAC address will become the root bridge.

How to check redundancy in Cisco switch? ›

To enter the redundancy main configuration submode and enable the standby switch, use the main-cpu command in redundancy configuration mode. This command has no arguments or keywords. From the redundancy main configuration submode, use the standby console enable command to enable the standby switch.

How does switch redundancy work? ›

However, if switch B fails, then the entire network is brought down. What if we add another segment to our network connecting switches A and C? In this case, even if one of the switches fails, the network will continue. This provides redundancy, effectively eliminating the single point of failure.

What is the command to set root bridge priority? ›

Root Bridge Placement

The priority is set with either of the following commands: spanning-tree vlan vlan-id priority priority: The priority is a value between 0 and 61,440, in increments of 4,096.

What will determine which switch is the root bridge by default? ›

The bridge ID is formed by the combination of the bridge priority (goes from 0 to 65535, the default is 32768) and the bridge MAC Address. As all switches have the same priority by default, the MAC Address decides the Root. Sample Bridge ID: 32768.0016. c865.

What is the root password for a Cisco switch? ›

Most routers and switches by Cisco have default passwords of admin or cisco, and default IP addresses of 192.168. 1.1 or 192.168. 1.254.

What is the difference between root port and root bridge? ›

Root port - The root port is always the link connected to the root bridge, or the shortest path to the root bridge. If more than one link connects to the root bridge, then a port cost is determined by checking the bandwidth of each link. The lowest cost port becomes the root port.

What is the function of the root bridge? ›

The root bridge is the switch that 'anchors' the spanning tree: simplified, all switches evaluate their potential paths towards the root bridge and only the 'best' path is kept active, the other links are blocked.

Which two criteria does a switch use to select the root bridge? ›

Each switch has a bridge ID priority value (BID), which is a combination of a priority value (default 32768) and the switch's own MAC address. The switch with the lowest BID will become the root bridge.

Which switch will be the root bridge after the election process is complete? ›

As all the switches have default priority therefore there is a tie on the basis of priority. Now, the switch with the lowest Mac address will become a root bridge.

What is the best practice of spanning-tree root bridge? ›

Best practise is to manually configure the device nearest the router as the root bridge. (Example topology attached of 3 switches automatically configure by STP and one image of what I think is the best practise manually configure)

Why do we need a root bridge in STP? ›

But i will not complicate my answer - but a root-bridge is needed for many reasons, but the most important thing about the root-bridge is to understand that it generates BPDU's for the STP-domain and it will influence the other switches to forward traffic towards the root-bridge in more complex typologies where you ...

What is network redundancy in Cisco? ›

Network redundancy is the process of providing multiple paths for traffic so that data can keep flowing even in the event of a failure. Put simply: more redundancy equals more reliability. It also helps with distributed site management. The idea is that if one device fails, another can automatically take over.

What do you mean by redundancy? ›

a situation in which something is unnecessary because it is more than is needed: The aircraft has seven computer systems running in parallel, so as to provide enough redundancy to cope with computer breakdowns.

What is the Cisco protocol for redundancy? ›

HSRP is Cisco's standard method of providing high network availability by providing first-hop redundancy for IP hosts on an IEEE 802 LAN configured with a default gateway IP address. HSRP routes IP traffic without relying on the availability of any single router.

What is redundancy in CCNA? ›

Redundancy ensures that a single point of failure does not cause the entire switched network to fail. In the absence of the Spanning Tree Protocol (STP), Layer 2 redundancy can cause problems in a network, including broadcast storms, multiple copies of frames, multiple loops, and MAC address table instability.

Top Articles
Latest Posts
Article information

Author: Dan Stracke

Last Updated:

Views: 6230

Rating: 4.2 / 5 (63 voted)

Reviews: 94% of readers found this page helpful

Author information

Name: Dan Stracke

Birthday: 1992-08-25

Address: 2253 Brown Springs, East Alla, OH 38634-0309

Phone: +398735162064

Job: Investor Government Associate

Hobby: Shopping, LARPing, Scrapbooking, Surfing, Slacklining, Dance, Glassblowing

Introduction: My name is Dan Stracke, I am a homely, gleaming, glamorous, inquisitive, homely, gorgeous, light person who loves writing and wants to share my knowledge and understanding with you.