The display bgp evpn slow-peer command displays information about slow BGP EVPN peers.
The display bgp evpn peer command displays information about BGP EVPN peers.
Usage Scenario
To check the following information about BGP EVPN peers, run the display bgp evpn peer command:
The actual command output varies according to the device. The command output here is only an example.
<HUAWEI> display bgp evpn slow-peer
Total number of peers : 2
Switchback detection timer: Remaining 3581 Second(s)
Peer LastSlowEndTime SlowStartTime SlowCount
1.1.1.1 2016-04-10 20:41:33+00:00 2016-04-12 00:02:33+00:00 3
2.2.2.1 2016-04-11 23:02:40+00:00 2016-04-12 00:02:40+00:00 5
<HUAWEI> display bgp evpn peer
BGP local router ID : 0.0.0.0
Local AS number : 100
Total number of peers : 1 Peers in established state : 0
Peer V AS MsgRcvd MsgSent OutQ Up/Down State PrefRcv
1::1 4 100 0 0 0 00:00:20 Idle 0
Item | Description |
---|---|
Total number of peers | Number of peers. |
Switchback detection timer | Remaining time for a peer to exit from the slow peer state. |
Peer | IP address of a peer. |
LastSlowEndTime | Time when a peer last exited from the slow peer state. |
SlowStartTime | Time when a peer began to be identified as a slow peer. |
SlowCount | Number of times a peer has been identified as a slow peer. |
BGP local router ID | Local BGP EVPN router ID. |
Local AS number | Local AS number. |
AS | Autonomous system number. |
Peers in established state | Number of peers in the Established state. |
V | BGP version of a peer. |
MsgRcvd | Number of messages received. |
MsgSent | Number of messages sent. |
OutQ | Number of messages to be sent to a peer. |
Up/Down | Duration in which the BGP EVPN session remains in the current state. |
State | Current BGP EVPN status:
After BGP EVPN receives a start event, BGP EVPN initiates a TCP connection to a peer, starts the ConnectRetry timer, and listens to the TCP messages from the peer. BGP EVPN then enters the Connect state.
If the TCP connection is successfully established, BGP EVPN stops the ConnectRetry timer and sends an Open message to the peer. BGP EVPN then enters the Opensent state. If the TCP connection fails to be established, BGP EVPN resets the ConnectRetry timer and listens to the TCP connection initiated by the peer. BGP EVPN then enters the Active state. If the ConnectRetry timer expires, BGP EVPN restarts the ConnectRetry timer and attempts to establish a TCP connection with the peer again. At this time, BGP EVPN remains in the Connect state.
If the TCP connection is successfully established, BGP EVPN resets the ConnectRetry timer and sends an Open message to the peer. BGP EVPN then enters the Opensent state. If the ConnectRetry timer expires, BGP EVPN restarts the ConnectRetry timer and enters the Connect state. If BGP EVPN attempts to establish a TCP connection with an unknown IP address but fails, BGP EVPN resets the ConnectRetry timer and remains in the Active state.
If BGP EVPN receives a correct Open message, BGP EVPN enters the OpenConfirm state. If BGP EVPN receives an incorrect Open message, BGP EVPN sends a Notification message to the peer and enters the Idle state. If BGP EVPN receives a TCP connection teardown message, BGP EVPN resets the ConnectRetry timer and listens to the TCP connection initiated by the peer. BGP EVPN then enters the Active state.
If BGP EVPN receives a Notification or TCP connection teardown message, BGP EVPN enters the Idle state. If BGP EVPN receives a Keepalive message, BGP EVPN enters the Established state.
If BGP EVPN receives an Update or Keepalive message, BGP EVPN remains in the Established state. If BGP EVPN receives a Notification message, BGP EVPN enters the Idle state.
|
PrefRcv | Number of route prefixes received from a peer. |