Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

show bgp replication

Syntax

show bgp replication

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:

  • Idle
  • Neighbor—Indicates that the neighbor state synchronization is in progress.
  • AckWait—Indicates that the request processing is over.
  • ORF—Indicates that the outbound routing filter synchronization is in progress.
  • RIB—Indicates that the routing table synchronization is in progress.
  • Complete

number of peers waiting

Total number of peers waiting for various messages:

  • AckWait—Number of peers waiting for a connection establishment or completed acknowledgment messages.
  • SoWait—Number of peers waiting for TCP socket-related operations.
  • Scheduled—Number of peers being synchronized.

messages sent

Number of various types of messages that have been sent since internal replication session became active:

  • Open—Number of Open messages sent.
  • Establish—Number of connection establishment acknowledgment messages sent.
  • Update—Number of update messages sent.
  • Error—Number of error messages sent.
  • Complete—Number of connection complete acknowledgment messages sent.

messages received

Total number of messages received:

  • Open—Number of Open messages received.
  • Request—Number of request messages received:

    • Wildcard—Number of requests received that used wildcards in the target address.
    • Targeted—Number of requests received that used a specific address.
  • EstablishAck—Number of connection establishment acknowledgement messages received.
  • CompleteAck—Number of connection completed acknowledgement 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

Published: 2013-01-30

Published: 2013-01-30