JunosE 11.3.x Service Availability Configuration Guide
Example: Forcing the Router to Switch from Primary Line Module to Spare Line Module
14
System Operations When Stateful Line Module Switchover Is Enabled on page 74
redundancy force-switchover
redundancy revert
In the following example, the user forces the router to switch from the primary line module
to the spare line module by issuing the redundancy force-switchover command. In the
example, you first issue the show redundancy command to display redundancy
information specific to line modules. You can then issue the redundancy force-switchover
command to force the router to switch from the primary line module to the spare line
module. To view the status of the line modules after the switchover, you can again issue
the show redundancy command.
Display the redundancy information.
1.
host1#show redundancy
SRP
---
high-availability state:
current redundancy mode:
last activation type:
Criteria Preventing High Availability from being Active
-------------------------------------------------------
criterion
----------------------------------
High Availability mode configured?
Mirroring Subsystem present?
Line Card
---------
automatic reverting is off
hardware
slot
role
----
--------
0
spare
2
primary
12
---
midplane
slots
type
-----
--------
0 - 5
6
Force the router to switch from the primary line module to the spare line module.
2.
host1#redundancy force-switchover 2
disabled
file-system-synchronization
cold-start
met
---
No
No
backed
up
sparing
lockout
by
for
config
slot
slot
---------
------
-------
---
---
---
protected
---
---
---
---
---
midplane
rev
--------
0
revert
at
------
---
---
---
Copyright © 2010, Juniper Networks, Inc.