The display bgp l2vpn-ad peer command displays information about BGP peers in the L2VPN AD address family.
The display bgp l2vpn-ad slow-peer command displays information about slow BGP peers in the L2VPN AD address family.
Usage Scenario
The display bgp l2vpn-ad peer command displays BGP peer information in the L2VPN AD address family. You can implement the following operations based on the command output:
The actual command output varies according to the device. The command output here is only an example.
<HUAWEI> display bgp l2vpn-ad peer
BGP local router ID : 10.2.2.2
Local AS number : 100
Total number of peers : 2 Peers in established state : 2
Peer V AS MsgRcvd MsgSent OutQ Up/Down State PrefRcv
10.3.3.3 4 100 482 484 0 07:58:05 Established 1
10.4.4.4 4 100 439 439 0 07:13:16 Established 3
<HUAWEI> display bgp l2vpn-ad slow-peer
Total number of peers : 2
Switchback detection timer: Remaining 3581 Second(s)
Peer LastSlowEndTime SlowStartTime SlowCount
10.1.1.1 2016-04-10 20:41:33+00:00 2016-04-12 00:02:33+00:00 3
10.2.2.1 2016-04-11 23:02:40+00:00 2016-04-12 00:02:40+00:00 5
Item | Description |
---|---|
BGP local router ID | ID of the BGP local router. If two ends have the same BGP local router ID, no BGP peer relationship can be established between them. In this situation, run the router id command in the BGP view on either end to change the BGP local router ID. Changing it to the IP address of a loopback interface is recommended. |
Local AS number | Local AS number. |
AS | AS number. |
Total number of peers | Total number of BGP peers. |
Peers in established state | Number of BGP peers in Established state. |
Peer | IP address of the peer. |
Peer | IP address of a slow peer. |
V | BGP version used on the peer. |
MsgRcvd | Number of received messages. |
MsgSent | Number of sent messages. |
OutQ | Message to be sent to the specified peer. |
Up/Down | Period during which a BGP session keeps the current state.
|
State | Status of the peer:
Upon receiving a Start event, BGP initiates a TCP connection request to the remote BGP peer, starts the ConnectRetry Timer with the initial value, listens for a TCP connection request initiated by the remote BGP peer, and changes its state to Connect.
|
PrefRcv | Number of route prefixes sent from the peer. |
Switchback detection timer | Remaining time for a peer to exit from the slow peer state. |
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. |