www.howtonetwork.org

CCNA & CCNP Certifcation Training

  • About
  • Contact
  • FAQ
  • Join
  • Home
  • CCNA
    • ICND1
    • ICND2
    • 101 CCNA LABS
  • CCNP
    • ROUTE
    • SWITCH
    • TSHOOT
    • 101 CCNP LABS
  • CompTIA
    • Security+
    • Network+
  • Design
    • CCDA
    • CCDP
You are here: Home / SWITCH / Module 8 / High Availability and LAN Redundancy – Supervisor Engine Redundancy

High Availability and LAN Redundancy – Supervisor Engine Redundancy

Cisco Catalyst 4500 and 6500 series switches support two Supervisor modules within the switch chassis to allow for HA of the switch. When the switch boots up, the first Supervisor that boots up is referred to as the Primary or Active Supervisor Engine and the second Supervisor module is referred to as the Standby or Redundant Supervisor Engine. The Standby Supervisor Engine assumes Primary Supervisor Engine status when one of the following events occurs:

  1. The Primary Supervisor Engine fails or crashes
  2. The Primary Supervisor Engine is rebooted
  3. The administrator forces a manual failover
  4. The Primary Supervisor Engine is physically removed

Cisco IOS software supports three redundancy modes for redundant Supervisor Engines:

  1. Route Processor Redundancy (RPR)
  2. Route Processor Redundancy Plus (RPR+)
  3. Stateful Switchover (SSO)

Route Processor Redundancy (RPR)

With RPR, when the switch boots up, RPR runs between the two Supervisor Engines and the first Supervisor to complete the boot process becomes the Active Supervisor Engine. The Standby Supervisor Engine is only partially booted and initialized and therefore not all switch subsystems become operational, e.g. the MSFC and PFC are not active.

Clock synchronization occurs between Primary and Backup every 60 seconds, and the startup configuration and configuration registers are synchronized between supervisors. When the Primary Supervisor Engine fails, the Standby Supervisor Engine becomes operational and the following occurs within the switch:

  • All switching modules are reloaded and powered up again
  • Remaining subsystems on the MSFC are brought up
  • ACLs are reprogrammed into Supervisor Engine hardware

Because the Standby Supervisor Engine is not fully initialized, failover from the Primary to the Secondary Supervisor Engine results in a disruption of network traffic as the Standby Supervisor Engine goes through the steps listed above and assumes the Primary Supervisor role. This entire process takes generally takes 2 to 4 minutes.

Route Processor Redundancy Plus (RPR+)

RPR+ improves on RPR and provides failover generally within 30 to 60 seconds. When RPR+ mode is used, the Redundant Supervisor Engine is fully initialized and configured, but is not fully operational. When the Redundant Supervisor Engine first initializes, the startup-config file is copied from the Active Supervisor Engine to the Redundant Supervisor Engine, which overrides any existing startup configuration file on the Redundant Supervisor Engine, allowing the Supervisor Engines to become synchronized.

When configuration changes occur during normal operation, redundancy performs an incremental synchronization from the Active Supervisor Engine to the Redundant Supervisor Engine. RPR+ synchronizes user-entered CLI commands incrementally line-by-line from the Active Supervisor Engine to the Redundant Supervisor Engine.

Even though the Redundant Supervisor Engine is fully initialized, it only interacts with the Active Supervisor Engine to receive incremental changes to the configuration files. The console on the Redundant Supervisor Engine is locked and you cannot enter CLI commands on the Redundant Supervisor Engine.

When the Active Supervisor Engine fails, the Redundant Supervisor Engine finishes initializing without reloading other switch modules and the following occurs:

  • Traffic is disrupted until the Redundant Supervisor Engine completes the takes over
  • The switch maintains any static routes across the switchover
  • The switch does not maintain any dynamic routing protocol information
  • The switch clears the FIB Tables on switchover
  • The switch clears the CAM Tables on switchover
  • State information, such as active TCP sessions, is not maintained on switchover

When implementing RPR+, it is important to ensure the following:

  • The Supervisor modules are similar, i.e. the same model, memory, and version for example
  • The Supervisor engines are running the same Cisco IOS software

If any of these is not the same, then the switch will revert to RPR mode instead of RPR+.

Stateful Switchover (SSO)

SSO is the preferred redundancy mode for Supervisor Engines. Similar to RPR and RPR+, SSO establishes one of the Supervisor Engines as Active while the other Supervisor Engine is designated as Standby. Unlike RPR and RPR+ however, with SSO, the Redundant Supervisor Engine is fully booted and initialized and then SSO synchronizes the two Supervisors.

With SSO, both Supervisor Engines must be running the same configuration so that the Redundant Supervisor engine is always ready to assume control in the event that the Active Supervisor Engine fails. Configuration information and data structures are synchronized between the Supervisor Engines at startup and whenever changes to the Active Supervisor Engine configuration occur.

Unlike RPR and RPR+ redundancy, SSO maintains state information between the redundant Supervisor Engines. This includes forwarding information in the FIB, as well as adjacency entries, which ensures that Layer 2 traffic is not interrupted and the switch can still forward Layer 3 traffic after a switchover from the Active to the Redundant Supervisor Engine.

During SSO switchover, all system control and routing protocol execution is transferred from the Active Supervisor Engine to the Redundant Supervisor Engine within 0 to 3 seconds.

Configuring Supervisor Engine Redundancy

Supervisor redundancy is configured in redundancy configuration mode, which is entered by issuing theredundancy global configuration command as illustrated in Example 8-61

Example 8-61:                       Configuring Supervisor Redundancy

Catalyst-6500-1(config)#redundancy
Catalyst-6500-1(config-red)#

The next configuration step is to specify the redundancy mode via the mode {rpr | rpr-plus | sso} redundancy-mode configuration command. Example 8-62 illustrates how to configure RPR+ redundancy for the Supervisor Engines.

Example 8-62:                       Configuring RPR+ Supervisor Redundancy

Catalyst-6500-1(config)#redundancy
Catalyst-6500-1(config-red)#mode rpr-plus

This configuration is validated using the show redundancy states command as illustrated in the output shown in Example 8-63.

Example 8-63:                       Verifying RPR+ Supervisor Redundancy

Catalyst-6500-1#show redundancy states
my state = 13 -ACTIVE
peer state = 8  -STANDBY HOT
           Mode = Duplex
Unit = Primary
Unit ID = 1Redundancy Mode (Operational) = Route Processor Redundancy Plus
Redundancy Mode (Configured)  = Route Processor Redundancy Plus
     Split Mode = Disabled
Manual Swact = Enabled
Communications = Upclient count = 11
client_notification_TMR = 30000 milliseconds
keep_alive TMR = 9000 milliseconds
keep_alive count = 0
keep_alive threshold = 18
RF debug mask = 0x0

Example 8-64 illustrates how to configure SSO (preferred) redundancy.

Example 8-64:                       Configuring SSO Supervisor Redundancy

Catalyst-4500-1(config)#redundancy
Catalyst-4500-1(config-red)#mode sso

This configuration is validated using the show redundancy states command as illustrated in the output shown in Example 8-65.

Example 8-65:                       Verifying SSO Supervisor Redundancy

Catalyst-4500-1#show redundancy states
my state = 13 -ACTIVE
peer state = 8  -STANDBY HOT
Mode = Duplex
Unit = Secondary
Unit ID = 1
Redundancy Mode (Operational) = Stateful Switchover 
Redundancy Mode (Configured)  = Stateful Switchover
Redundancy State              = Stateful Switchover
Maintenance Mode = Disabled
Manual Swact = enabled
Communications = Up
client count = 54
client_notification_TMR = 240000 milliseconds
keep_alive TMR = 9000 milliseconds
keep_alive count = 0
keep_alive threshold = 18
RF debug mask = 0x0

The show redundancy command can also be used to provide detail redundancy information such as the uptime of the Supervisor Engines, the IOS version the Supervisor Engines are running, the number of switchovers, the reason for the last (most recent) switchover, as well as failure statistics. The output of this command is illustrated in Example 8-66.

Example 8-66:                       Viewing Detailed Redundancy Information

Catalyst-4500-1#show redundancy
Redundant System Information :
——————————
       Available system uptime = 1 year, 4 days, 2 hours, 45 minutes
Switchovers system experienced = 2
              Standby failures = 1
        Last switchover reason = user forcedHardware Mode = Duplex
Configured Redundancy Mode = Stateful Switchover
     Operating Redundancy Mode = Stateful Switchover
Maintenance Mode = Disabled
Communications = UpCurrent Processor Information :
——————————-
Active Location = slot 1
Current Software state = ACTIVE
       Uptime in current state = 1 year, 4 days, 1 hour, 2 minutes
                 Image Version = Cisco IOS Software, Catalyst 4500 L3 Switch Sof
tware (cat4500-ENTSERVICESK9-M), Version 12.2(50)SG1, RELEASE SOFTWARE (fc2)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2009 by Cisco Systems, Inc.
Compiled Mon 09-Feb-09 19:21 by prod_rel_team
BOOT = bootflash:cat4500-entservicesk9-mz.122-50.SG1.b
in,1;bootflash:cat4000-i5k91s-mz.122-20.EW4.bin,1;
Configuration register = 0x2102

Peer Processor Information :
—————————-
Standby Location = slot 2
Current Software state = STANDBY HOT
       Uptime in current state = 1 year, 4 days, 58 minutes
                 Image Version = Cisco IOS Software, Catalyst 4500 L3 Switch Sof
tware (cat4500-ENTSERVICESK9-M), Version 12.2(50)SG1, RELEASE SOFTWARE (fc2)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2009 by Cisco Systems, Inc.
Compiled Mon 09-Feb-09 19:21 by
BOOT = bootflash:cat4500-entservicesk9-mz.122-50.SG1.b
in,1;bootflash:cat4000-i5k91s-mz.122-20.EW4.bin,1;
Configuration register = 0x2102

Configuring Manual Supervisor Synchronization

By default, during normal redundancy operation, the Primary Supervisor will synchronize its startup configuration and configuration registers with the Redundant Supervisor. However, Cisco IOS software also allows administrators to manually configure synchronization between the two Supervisor Engines. The following sequences of steps are required to perform this:

  1. Enter redundancy configuration mode by issuing the redundancy global configuration command on the Active Supervisor Engine
  2. Enter main CPU configuration mode, within redundancy configuration mode, by entering the main-cpuredundancy configuration command
  3. Specify the variables that you want synchronized between the Supervisor Engines by issuing the auto-sync [startup-config | config-register | bootvar |standard] main CPU redundancy configuration command. Repeat this command as needed for each variable to synchronize between the Supervisor Engines.The [startup-config] keyword is used to synchronize the startup-config files on the redundant Supervisor Engines. The [config-register] keyword is used to synchronize the config-registers on the redundant Supervisor Engines.The [bootvar] keyword is used to synchronize the boot variables on the redundant Supervisor Engines. And finally, the [standard] keyword is used to configure the redundant Supervisor Engines to use default automatic synchronization.
  4. Save the switch configuration to NVRAM using the copy running-config startup-config or copy system:running-config nvram:startup-config commands

Example 8-67 illustrates how to manually disable the default automatic synchronization and manually configure only the synchronization of the startup-config between the redundant Supervisor Engines. Once configured, the bootvar and config-register will not be synchronized.

Example 8-67:                       Manually Configuring Supervisor Synchronization

Catalyst-6500-1(config)#redundancy
Catalyst-6500-1(config-red)#main-cpu
Catalyst-6500-1(config-r-mc)#no auto-sync standard
Catalyst-6500-1(config-r-mc)#auto-sync startup-config
Catalyst-6500-1(config-r-mc)#exit
Catalyst-6500-1(config-red)#exit
Catalyst-6500-1(config)#exit
Catalyst-6500-1#copy running-config startup-config

Example 8-68 illustrates how to re-enable default automatic synchronization on the Supervisors.

Example 8-68:                       Manually Re-Enabling Supervisor Synchronization

Catalyst-6500-1(config)#redundancy
Catalyst-6500-1(config-red)#main-cpu
Catalyst-6500-1(config-r-mc)#auto-sync standard
Catalyst-6500-1(config-r-mc)#end
Catalyst-6500-1#copy system:running-config nvram:startup-config

NOTE: Manual synchronization configuration is validated in the running-config of the switch.

Manually Forcing a Switchover or Failover to the Standby Supervisor

Cisco IOS software allows administrators to manually force a switchover or failover from the Active or Primary Supervisor Engine to the Standby Supervisor Engine. This is typically performed when the Active Supervisor Engine is experiencing issues and needs to be removed or replaced, or needs to have the software upgraded, for example. A manual failover may be initiated by issuing the redundancy force-switchover privileged EXEC command.

Prev

Next

About Us

This is a free bonus site for members of www.howtonetwork.com

Copyright

The content on this copyright Reality Press Ltd.
Copyright Reality Press Ltd.