Describes how to force a manual switchover from the active route processor to the standby by running the redundancy switchover command or by reloading the active RP with the reload command.
If a standby RP is installed and ready for switchover, you can perform the switchover by using these commands:
-
The redundancyswitchover command
-
The reload command.
Manual switchover using the redundancy switchover command
You can force a manual switchover from the active RP to the standby RP by using the redundancyswitchover command.
If a standby RP is installed and ready for switchover, the standby RP becomes the active RP. The original active RP becomes the standby RP. In this example, partial output for a successful redundancy switchover operation is shown:
Router# show redundancy
This node (0/RP0/CPU0) is in ACTIVE role
Partner node (0/RP1/CPU0) is in STANDBY role
Standby node in 0/RP1/CPU0 is ready
Router# redundancy switchover
Updating Commit Database. Please wait...[OK]
Proceed with switchover 0/RP0/CPU0 -> 0/RP1/CPU0? [confirm]
Initiating switch-over.
Router#
<Your 'TELNET' connection has terminated>
Manual switchover using the reload command
You can force a manual switchover from the active RP to the standby RP by reloading the active RP using the reload command. As active RP reboots, the current standby RP becomes active RP, and rebooting RP switches to standby RP.
Router# reload
Router#
In the earlier example, the Telnet connection is lost when the previously active RP resets. To continue management of the router, you must connect to the newly activated RP as shown in this example:
User Access Verification
Username: xxxxx
Password: xxxxx
Last switch-over Sat Apr 15 12:26:47 2009: 1 minute ago
Router#
If the standby RP is not in the ready state, the switchover operation is not allowed. In this example, partial output for a failed redundancy switchover attempt is shown:
Router# show redundancy
Redundancy information for node 0/RP1/CPU0:
==========================================
Node 0/RP0/CPU0 is in ACTIVE role
Partner node (0/RP1/CPU0) is in UNKNOWN role
Reload and boot info
----------------------
RP reloaded Wed Mar 29 17:22:08 2009: 2 weeks, 2 days, 19 hours, 14 minutes ago
Active node booted Sat Apr 15 12:27:58 2009: 8 minutes ago
Last switch-over Sat Apr 15 12:35:42 2009: 1 minute ago
There have been 4 switch-overs since reload
Router# redundancy switchover
Switchover disallowed: Standby node is not ready.