[Contents]
[Prev]
[Next]
[Index]
[Report an Error]
Switching to the Redundant SRP Module
To switch immediately from the primary SRP module
to the redundant SRP module, issue the redundancy force-switchover command or the srp switch command. You
can configure the router to prompt you if the modules are in a state
that could lead to loss of configuration data or NVS corruption.
redundancy force-switchover
- Use to force the router to switch from the primary line
module in the specified slot or the primary SRP module to the spare
line module or SRP module.
- The command causes a single switchover. When you reboot,
the router reverts to the configured setting for this slot.
- With the srp option, the command
is equivalent to the srp switch command.
- The redundancy force-switchover command overrides the redundancy lockout command.
- Example
- host1#redundancy force-switchover 5
- There is no no version.
- See redundancy force-switchover.
srp switch
- Use to switch from the primary SRP module to the redundant
SRP module.
- When the high availability state is active, this command
delays until all transaction data, up to when you issue the command,
has been mirrored to the standby SRP module. This preserves legacy
behavior requiring that SRP modules be synchronized before the switchover.
- If you specify the force keyword,
the procedure fails if the SRP modules are in certain states, such
as during a synchronization. In these cases, the router displays a
message that indicates that the procedure cannot currently be performed
and the reason why. However, if the SRP modules are in other states
that could lead to a loss of configuration data or an NVS corruption,
the router displays a message that explains the state of the SRP modules,
and asks you to confirm (enter yes or no) whether you want to proceed.
- If you do not specify the force keyword, the procedure fails if the SRP modules are in any state
that could lead to a loss of configuration data or an NVS corruption,
and the router displays a message explaining the command failure.
- When you issue this command, the router prompts you for
a confirmation before the command takes effect.
- If you issue the disable-switch-on-error command and later issue the srp switch command, the redundant SRP module waits about
30 seconds before it takes over from the primary SRP module.
- If the router does not contain a redundant SRP module,
this command has no effect.
- Example
- host1#srp switch
- host1#srp switch force
- There is no no version.
- See srp switch.
[Contents]
[Prev]
[Next]
[Index]
[Report an Error]