show system switchover
Syntax
show system switchover
Syntax (TX Matrix Router)
show system switchover <all-chassis | all-lcc | lcc number | scc>
Syntax (TX Matrix Plus Router)
show system switchover <all-chassis | all-lcc | lcc number | sfc number>
Syntax (MX Series Router)
show system switchover <all-members> <local> <member member-id>
Description
Display whether graceful Routing Engine switchover is configured, the state of the kernel replication (ready or synchronizing), any replication errors, and whether the primary and standby Routing Engines are using compatible versions of the kernel database.
Issue the show system switchover
command only
on the backup Routing Engine. This command is not supported
on the primary Routing Engine because the kernel-replication
process daemon does not run on the primary Routing Engine. This process runs
only on the backup Routing Engine.
Beginning Junos OS Release 9.6, the show system switchover
command
has been deprecated on the primary Routing Engine on all routers other than a TX
Matrix (switch-card chassis) or a TX Matrix Plus (switch-fabric chassis) router.
However, in a routing matrix, if you issue the show system
switchover
command on the primary Routing Engine of the TX Matrix
router (or switch-card chassis), the CLI displays graceful switchover information
for the primary Routing Engine of the T640 routers (or line-card chassis) in the
routing matrix. Likewise, if you issue the show system switchover
command on the primary Routing Engine of a TX Matrix Plus router (or switch-fabric
chassis), the CLI displays output for the primary Routing Engine of T1600 or T4000
routers in the routing matrix.
Options
all-chassis |
(TX Matrix routers and TX Matrix Plus routers only) (Optional) On a TX Matrix router, display graceful Routing Engine switchover information for all Routing Engines on the TX Matrix router and the T640 routers configured in the routing matrix. On a TX Matrix Plus router, display graceful Routing Engine switchover information for all Routing Engines on the TX Matrix Plus router and the T1600 or T4000 routers configured in the routing matrix. |
all-lcc |
(TX Matrix routers and TX Matrix Plus routers only) (Optional) On a TX Matrix router, display graceful Routing Engine switchover information for all T640 routers (or line-card chassis) connected to the TX Matrix router. On a TX Matrix Plus router, display graceful Routing Engine switchover information for all connected T1600 or T4000 LCCs. Note that in this instance, packets get dropped. The LCCs perform GRES on their own chassis (GRES cannot be handled by one particular chassis for the entire router) and synchronization is not possible as the LCC plane bringup time varies for each LCC. Therefore, when there is traffic on these planes, there may be a traffic drop. |
all-members |
(MX Series routers only) (Optional) Display graceful Routing Engine switchover information for all Routing Engines on all members of the Virtual Chassis configuration. |
lcc number |
(TX Matrix routers and TX Matrix Plus routers only) (Optional) On a TX Matrix router, display graceful Routing Engine switchover information for a specific T640 router connected to the TX Matrix router. On a TX Matrix Plus router, display graceful Routing Engine switchover information for a specific router connected to the TX Matrix Plus router. Replace number with the following values depending on the LCC configuration:
|
local |
(MX Series routers only) (Optional) Display graceful Routing Engines switchover information for all Routing Engines on the local Virtual Chassis member. |
member member-id |
(MX Series routers only) (Optional) Display graceful Routing Engine
switchover information for all Routing Engines on the specified member
of the Virtual Chassis configuration. Replace
|
scc |
(TX Matrix router only) (Optional) Display graceful Routing Engine switchover information for the TX Matrix router (or switch-card chassis). |
sfc |
(TX Matrix Plus routers only) (Optional) Display graceful Routing Engine switchover information for the TX Matrix Plus router. |
Additional Information
If you issue the show system switchover
command on a TX Matrix
backup Routing Engine, the command is broadcast to all the T640 backup Routing
Engines that are connected to it.
Likewise, if you issue the show system switchover
command on a TX
Matrix Plus backup Routing Engine, the command is broadcast to all the T1600 or
T4000 backup Routing Engines that are connected to it.
If you issue the show system switchover
command on the active
Routing Engine in the primary router of an MX Series Virtual Chassis, the router
displays a message that this command is not applicable on this member of the Virtual
Chassis.
Required Privilege Level
view
Output Fields
Table 1
describes the output fields for the show system switchover
command.
Output fields are listed in the approximate order in which they appear.
Field Name |
Field Description |
---|---|
|
Display graceful Routing Engine switchover status:
|
|
State of the configuration database:
|
|
State of the kernel database:
|
|
Routing Engine peer state: This field is displayed only when ksyncd is running in multichassis mode (LCC primary).
|
|
Switchover Status:
|
|
Platform Components: FEB1:
FEB1-PFE0, FEB1- PFE1:
|
Sample Output
- show system switchover (Backup Routing Engine - Ready)
- show system switchover (Backup Routing Engine - Not Ready)
- show system switchover all-lcc (Routing Matrix and Routing Matrix Plus)
- show system switchover (ACX7509)
- show system switchover (Backup Routing Engine - Junos OS Evolved)
show system switchover (Backup Routing Engine - Ready)
user@host> show system switchover Graceful switchover: On Configuration database: Ready Kernel database: Ready Peer state: Steady State Switchover Status: Ready
Switchover Status: Ready is the way the last line of the output reads if you are running Junos OS Release 16.1R1 or later. If you are running Junos OS Release 15.x, the last line of the output reads as Switchover Ready, for example:
user@host> show system switchover Graceful switchover: On Configuration database: Ready Kernel database: Ready Switchover Ready
show system switchover (Backup Routing Engine - Not Ready)
user@host> show system switchover Graceful switchover: On Configuration database: Ready Kernel database: Ready Peer state: Steady State Switchover Status: Not Ready
Switchover Status: Not Ready is the way the last line of the output reads if you are running Junos OS Release 16.1R1 or later. If you are running Junos OS Release 15.x, the last line of the output reads as Not ready for primary role switch, try after xxx secs, for example:
user@host> show system switchover Graceful switchover: On Configuration database: Ready Kernel database: Ready Not ready for mastership switch, try after xxx secs.
show system switchover all-lcc (Routing Matrix and Routing Matrix Plus)
user@host> show system switchover all-lcc lcc0-re0: -------------------------------------------------------------------------- Multichassis replication: On Configuration database: Ready Kernel database: Ready Peer state: Steady State Switchover Status: Ready lcc2-re0: -------------------------------------------------------------------------- Multichassis replication: On Configuration database: Ready Kernel database: Ready Peer state: Steady State Switchover Status: Ready <command>user@host> <user-typing>show system switchover</user-typing > </command> <output>lcc0-re1: - Multichassis replication: On Configuration database: Ready Kernel database: Ready Peer state: Steady State Switchover Status: Ready lcc2-re0: - Multichassis replication: On Configuration database: Ready Kernel database: Ready Peer state: Steady State Switchover Status: Ready</output> </sample>
show system switchover (ACX7509)
The switchover status option for ACX7509 is only available on backup Routing Engine. The show outputs displayed system switchover status is "Ready" and "Not Ready" are as follows:
user@host> show system switchover Graceful switchover: On Configuration database: Ready Object database: Ready Applications' ready state: Ready Switchover Status: Ready Platform Components: Ready FEB1 Online FEB1-PFE0 Ready FEB1-PFE1 Ready user@host> show system switchover Graceful switchover: On Configuration database: Ready Object database: Ready Applications' ready state: Ready Switchover Status: Not Ready Platform Components: Not Ready FEB1 Not Online FEB1-PFE0 Not Online FEB1-PFE1 Not Online
show system switchover (Backup Routing Engine - Junos OS Evolved)
{backup} user@host> show system switchover Graceful switchover: On Configuration database: Ready Object database: Ready Applications' ready state: Ready Switchover Status: Not Ready
Release Information
Command introduced before Junos OS Release 7.4.
sfc
option introduced for the TX Matrix Plus router in Junos OS
Release
9.6.
Command support added for ACX7509 in 22.1R1 for High Availability Platform Redundancy RCB and FEB switchover.