show task replication
Syntax
Release Information
Command introduced in Junos OS Release 8.5.
Support for logical systems introduced in Junos OS Release 13.3
Description
Displays nonstop active routing (NSR) status. When you issue this command on the primary Routing Engine, the status of nonstop active routing synchronization is also displayed.
If BGP is configured, before attempting nonstop active routing switchover, check the output of show bgp replication to confirm that BGP routing table synchronization has completed on the backup Routing Engine. The complete status in the output of show task replication only indicates that the socket replication has completed and the BGP synchronization is in progress.
To determine whether BGP synchronization is complete, you must check the Protocol state and Synchronization state fields in the output of show bgp replication on the primary Routing Engine. The Protocol state must be idle and the Synchronization state must be complete. If you perform NSR switchover before the BGP synchronization has completed, the BGP session might flap.
Options
This command has no options.
Required Privilege Level
view
Related Documentation
List of Sample Output
show task replication (Issued on the Primary Routing Engine)show task replication (Issued on the Backup Routing Engine)
show task replication (Junos OS Evolved)
Output Fields
Table 1 lists the output fields for the show task replication command. Output fields are listed in the approximate order in which they appear.
Table 1: show task replication Output Fields
Field Name | Field Description |
---|---|
Stateful replication | Displays whether or not graceful Routing Engine switchover is configured. The status can be Enabled or Disabled. |
RE mode | Displays the Routing Engine on which the command is issued: Master, Backup, or Not applicable (when the router has only one Routing Engine). |
Protocol | Protocols that are supported by nonstop active routing. |
Synchronization Status | Nonstop active routing synchronization status for the supported protocols. States are NotStarted, InProgress, and Complete. Synchronization states are shown for each of the supported protocols that are running on the device at that moment. |
Sample Output
show task replication (Issued on the Primary Routing Engine)
user@host> show task replication
Stateful Replication: Enabled RE mode: Master Protocol Synchronization Status OSPF NotStarted BGP Complete IS-IS NotStarted LDP Complete PIM Complete
show task replication (Issued on the Backup Routing Engine)
user@host> show task replication
Stateful Replication: Enabled RE mode: Backup
show task replication (Junos OS Evolved)
In Junos OS Evolved, both the primary and backup Routings have the same CLI output. If you configured any protocol, you should see the synchronization state for the same.
user@host> show task replication
Stateful Replication: Enabled RE mode: Master Protocol Synchronization Status OSPF NotStarted BGP Complete IS-IS NotStarted LDP Complete PIM Complete