show bgp replication
Syntax
Release Information
Command introduced in JUNOS Release 8.5.
Command introduced in Junos OS Release 11.3 for the QFX Series.
Description
Displays the status of BGP state replication between the master and backup Routing Engines on devices that have nonstop active routing configured on them.
Options
This command has no options.
Required Privilege Level
view
List of Sample Output
show bgp replication (for Master)show bgp replication (for Backup)
Output Fields
Table 1 lists the output fields for the show bgp replication command. Output fields are listed in the approximate order in which they appear.
Table 1: show bgp replication Output Fields
Field Name | Field Description |
---|---|
session state | State of the current internal BGP state replication session, Up or Down, and the duration for which the session has been in the indicated state. |
flaps | Total number of flaps that occurred. |
protocol state | Current state of the protocol operation, Active, Connect, Idle, and the duration for which the protocol has been in the indicated state. |
synchronization state | Synchronization state at the time of executing the command. The states can be:
|
number of peers waiting | Total number of peers waiting for various messages:
|
messages sent | Number of various types of messages that have been sent since internal replication session became active:
|
messages received | Total number of messages received:
|
Sample Output
show bgp replication (for Master)
user@host> show bgp replication
Synchronization master: Session state: Up, Since: 44:07 Flaps: 0 Protocol state: Idle, Since: 14 Synchronization state: Complete Number of peers waiting: AckWait: 0, SoWait: 0, Scheduled: 0 Messages sent: Open 1, Establish 924, Update 381, Error 60, Complete 114 Messages received: Open 1, Request 1 wildcard 113 targeted, EstablishAck 924, CompleteAck 114
show bgp replication (for Backup)
user@host> show bgp replication
Synchronization backup: State: Established 13 ago , Unsync timer: 2 Unsync entry queue: Instance: 0 Neighbor: 30.30.30.1 elapsed: 7 Instance: 0 Neighbor: 40.40.40.3 elapsed: 7 Instance: 0 Neighbor: 40.40.40.4 elapsed: 7 Instance: 0 Neighbor: 40.40.40.5 elapsed: 7 Instance: 0 Neighbor: 40.40.40.6 elapsed: 7 Instance: 0 Neighbor: 40.40.40.1 elapsed: 7 Instance: 0 Neighbor: 40.40.40.2 elapsed: 7