display bgp l2vpn-ad peer verbose

Function

The display bgp l2vpn-ad peer verbose command displays detailed information about BGP peers in the L2VPN AD address family.

Format

display bgp l2vpn-ad peer verbose

display bgp l2vpn-ad peer ipv4-address verbose

Parameters

Parameter Description Value
ipv4-address

Specifies the IPv4 address of a peer to be displayed.

The value is in dotted decimal notation.

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
bgp read

Usage Guidelines

Usage Scenario

To view detailed information about a BGP peer in the L2VPN AD address family, such as information about BGP timers, the number of sent and received routes, capacities supported, the number of sent and received BGP messages, and enabled functions, run display bgp l2vpn-ad peer verbose command.

Example

The actual command output varies according to the device. The command output here is only an example.

# Display detailed information about peers in the L2VPN AD address family.
<HUAWEI> display bgp l2vpn-ad peer verbose

         BGP Peer is 10.1.1.1,  remote AS 100
         Type: IBGP link
         BGP version 4, Remote router ID 10.3.1.3
         Update-group ID: 0
         BGP current state: Idle
         BGP current event: ManualStop
         BGP last state: Established
         BGP Peer Up count: 4
         Configured: Connect-retry Time: 32 sec
         Configured: Min Hold Time: 0 sec
 Received: Total 0 messages
                  Update messages                0
                  Open messages                  0
                  KeepAlive messages             0
                  Notification messages          0
                  Refresh messages               0
 Sent: Total 0 messages
                  Update messages                0
                  Open messages                  0
                  KeepAlive messages             0
                  Notification messages          0
                  Refresh messages               0
 Authentication type configured: None
 Last keepalive received: 2019-08-30 01:28:24+00:00
 Last keepalive sent    : 2019-08-30 01:27:35+00:00
 Last update    received: 2019-08-29 01:42:07+00:00
 Last update    sent    : 2019-08-29 01:42:07+00:00
 Last refresh   received: 2019-08-28 08:49:07+00:00
 No refresh sent since peer has been configured
 Minimum route advertisement interval is 15 seconds
 Optional capabilities:
 Route refresh capability has been enabled
 4-byte-as capability has been enabled
 Peer Preferred Value: 0
 Memory Priority: high
 Routing policy configured:
 No routing policy is configured
 Signaling: VPLS-AD
Table 1 Description of the display bgp l2vpn-ad peer verbose command output
Item Description
BGP Peer is 10.1.1.1

The address of BGP peer.

BGP version

BGP version.

BGP current state

Status of the peer:

  • Idle: indicates that BGP denies any request of entering. This is the initiatory status of BGP.

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.

  • Connect: indicates that BGP is waiting for the TCP connection to be set up before it determines whether to perform other operations.
    1. If the TCP connection succeeds, BGP stops the ConnectRetry Timer, sends an Open message to the remote peer, and changes its state to OpenSent.
    2. If the TCP connection fails, BGP restarts the ConnectRetry Timer with the initial value, continues to listen for a TCP connection request initiated by the remote peer, and changes its state to Active.
    3. If the ConnectRetry Timer has expired before a TCP connection is established, BGP restarts the timer with the initial value, initiates a TCP connection request to the remote BGP peer, and stays in the Connect state.
  • Active: indicates that BGP tries to set up a TCP connection. This is the intermediate status of BGP.
    1. If the TCP connection succeeds, BGP stops the ConnectRetry Timer, sends an Open message to the remote peer, and changes its state to OpenSent.
    2. If the ConnectRetry Timer has expired before a TCP connection is established, BGP restarts the timer with the initial value and changes its state to Connect.
    3. If BGP initiates a TCP connection request with an unknown IP address, the TCP connection fails. When this occurs, BGP restarts the ConnectRetry Timer with the initial value and stays in the Active state.
  • OpenSent: indicates that BGP has sent one Open message to its peer and is waiting for the other Open message from the peer.
    1. If there are no errors in the Open message received, BGP changes its state to OpenConfirm.
    2. If there are errors in the Open message received, BGP sends a Notification message to the remote peer and changes its state to Idle.
    3. If the TCP connection fails, BGP restarts the ConnectRetry Timer with the initial value, continues to listen for a TCP connection request initiated by the remote peer, and changes its state to Active.
  • OpenConfirm: indicates that BGP is waiting for a Notification or Keepalive message.
    1. If BGP receives a Notification message, or the TCP connection fails, BGP changes its state to Idle.
    2. If BGP receives a Keepalive message, BGP changes its state to Established.
  • Established: indicates that BGP peers can exchange Update, Notification, and Keepalive messages.
    1. If BGP receives an Update or a Keepalive message, its state stays in Established.
    2. If BGP receives a Notification message, BGP changes its state to Idle.
  • No neg: The address family is not enabled for the BGP peer. In this state, Update messages can be exchanged in other address families whose capabilities have been successfully negotiated. If the address family is enabled for the BGP peer, the local BGP peer receives a Notification message, and the peer relationship is disconnected. Then, the BGP peer changes to the Idle state and re-establishes the peer relationship.
BGP current event

Current BGP event.

BGP last state

Last BGP status, which may be Idle, Connect, Active, OpenSent, OpenConfirm, Established or No neg.

BGP Peer Up count

Flapping count of a BGP peer in a specified period of time.

Peer Preferred Value

PrefVal of the peer.

remote AS 100

The number of remote AS.

Update-group ID

ID of the update-group to which the peer belongs.

Configured: Connect-retry Time

Locally configured connect-retry timer.

Configured: Min Hold Time

Locally configured minimum hold timer.

Total

Indicates the total number of messages.

Update messages

Indicates the number of Update messages.

Open messages

Indicates the number of Open messages.

KeepAlive messages

Indicates the number of Keepalive messages.

Notification messages

Indicates the number of Notification messages.

Refresh messages

Indicates the number of route-refresh messages.

Authentication type configured

Authentication type that is configured.

Last keepalive received

Time when a Keepalive message was last received.

Last keepalive sent

Time when a Keepalive message was last sent.

Last update received

Time when an Update message was last received.

Last update sent

Time when an Update message was last sent.

Last refresh received

Time when an route-refresh message was last received.

No refresh sent since peer has been configured

No Route-Refresh messages have been sent to the peer since the peer relationship was established.

Minimum route advertisement interval is 15 seconds

Minimum route advertisement interval.

Optional capabilities

Optional capabilities of the peer.

Route refresh capability has been enabled

The Route-Refresh has been enabled.

4-byte-as capability has been enabled

The 4-byte AS capability has been enabled.

Memory Priority

The priority for a BGP peer relationship to be disconnected if memory overload occurs.

Routing policy configured

Whether a route-policy has been configured.

Type

BGP link type: IBGP or EBGP.

Received

Number of messages received from a peer.

Sent

Number of messages sent to a peer.

Signaling

The signaling protocol used.

Configured

Timer that is locally configured:

  • Active Hold Time: indicates the hold time. If BGP does not receive any Keepalive message from a peer within the hold time, BGP considers the peer Down and instructs other peers to withdraw the routes received from this peer.
  • Keep Alive Time: indicates the interval at which Keepalive messages are sent to a peer. BGP peers exchange Keepalive messages periodically to show that they are working normally.
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >