display bgp rpd peer verbose

Function

The display bgp rpd peer verbose command displays detailed information about BGP RPD peers.

Format

display bgp rpd peer verbose

display bgp rpd 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

Run the display bgp rpd peer verbose command to display detailed information about BGP RPD peers.

Example

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

# Display detailed information about the RPD peer with IPv4 address 10.1.1.1.
<HUAWEI> display bgp rpd peer 10.1.1.1 verbose
BGP Peer is 192.168.1.2,  remote AS 100
     Type: IBGP link         
     BGP version 4, Remote router ID 192.168.1.2
     Update-group ID: 1
     BGP current state: Established, Up for 05h08m59s
     BGP current event: RecvKeepalive
     BGP last state: OpenConfirm
     BGP Peer Up count: 3
     Received total routes: 0
     Received active routes total: 0
     Advertised total routes: 0
     Port: Local - 179        Remote - 59947
     Configured: Connect-retry Time: 32 sec
     Configured: Min Hold Time: 0 sec
     Configured: Active Hold Time: 180 sec   Keepalive Time:60 sec
     Received  : Active Hold Time: 180 sec
     Negotiated: Active Hold Time: 180 sec   Keepalive Time:60 sec
     Peer optional capabilities:
     Peer supports bgp multi-protocol extension
     Peer supports bgp route refresh capability
     Peer supports bgp 4-byte-as capability
     Address family IPv4 Unicast: advertised and received
     Address family RPD: advertised and received
 Received: Total 356 messages
           Update messages                2
           Open messages                  1
           KeepAlive messages             353
           Notification messages          0
           Refresh messages               0
 Sent: Total 357 messages
           Update messages                2
           Open messages                  2
           KeepAlive messages             353
           Notification messages          0
           Refresh messages               0
 Authentication type configured: None
 Last keepalive received: 2017-12-19 08:16:18+00:00
 Last keepalive sent    : 2017-12-19 08:15:42+00:00
 Last update received   : 2017-12-19 03:07:23+00:00
 Last update sent       : 2017-12-19 03:07:23+00:00
 No refresh received since peer has been configured
 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
Table 1 Description of the display bgp rpd peer verbose command output
Item Description
BGP version

BGP version.

BGP current state

Current BGP status:

  • Idle: BGP denies any connection request. This is the initial status of BGP.

After receiving a Start event, BGP initiates a TCP connection to the remote BGP peer, starts the ConnectRetry Timer with the initial value, listens for a TCP connection initiated by the remote BGP peer, and changes its state to Connect.

  • Connect: BGP is waiting for the TCP connection to be established before performing subsequent operations.
  • If the TCP connection is successfully established, BGP stops the ConnectRetry timer and sends an Open message to the peer. BGP then enters the Opensent state.
  • If the TCP connection fails to be established, BGP restarts the ConnectRetry Timer with the initial value, continues to listen for a TCP connection initiated by the remote peer, and changes its state to Active.
  • If the ConnectRetry timer expires, BGP restarts the ConnectRetry timer and attempts to establish a TCP connection with the peer again. At this time, BGP remains in the Connect state.
  • Active: BGP attempts to establish a TCP connection. This is the intermediate state of BGP.
  • If the TCP connection is successfully established, BGP restarts the ConnectRetry Timer with the initial value, sends an Open message to the remote peer, and changes its state to Opensent.
  • If the ConnectRetry timer expires, BGP restarts the ConnectRetry timer and enters the Connect state.
  • If BGP attempts to establish a TCP connection with an unknown IP address, the TCP connection fails, the ConnectRetry Timer is reset, and BGP remains in the Active state.
  • OpenSent: BGP has sent an Open message to the peer and is now waiting for an Open message from the peer.
  • If BGP receives a correct Open message, BGP enters the OpenConfirm state.
  • If the Open message received by BGP is incorrect, BGP sends a Notification message to the peer and enters the Idle state.
  • If the TCP connection fails, BGP restarts the ConnectRetry Timer with the initial value, continues to listen for a TCP connection initiated by the remote peer, and changes its state to Active.
  • OpenConfirm: BGP is waiting for a Notification message or a Keepalive message.
  • If BGP receives a Notification message or a TCP connection teardown message, BGP changes its state to Idle.
  • If BGP receives a Keepalive message, BGP enters the Established state.
  • Established: indicates that BGP peers can exchange Update, Notification, and Keepalive messages.
  • If BGP receives an Update or Keepalive message, BGP remains in the Established state.
  • 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 successfully negotiated address families. If the address family is enabled on the remote BGP peer, the local BGP peer receives a Notification message, disconnects from the remote BGP peer, changes to the Idle state, and re-establishes a connection with the remote BGP peer.
BGP current event

Current BGP event.

BGP last state

State of the last BGP stage, which can be Idle, Connect, Active, OpenSent, OpenConfirm, Established, or No neg.

BGP Peer Up count

Number of times the BGP peer flaps.

Peer Preferred Value

PrefVal of the peer.

Peer optional capabilities

The optional capabilities supported by the peer.

Update-group ID

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

Received total routes

Number of received route prefixes.

Received active routes total

Number of received active route prefixes.

Received : Active Hold Time

Hold time on the peer.

Received

Number of messages received from a peer.

  • Total: indicates the total number of messages received from a peer.
  • Update messages: indicates the number of Update messages received from a peer.
  • Open messages: indicates the number of Open messages received from a peer.
  • KeepAlive messages: indicates the number of Keepalive messages received from a peer.
  • Notification messages: indicates the number of Notification messages received from a peer.
  • Refresh messages: indicates the number of route-refresh messages received from a peer.
Advertised total routes

Number of sent route prefixes.

Keepalive Time

Indicates the interval at which Keepalive messages are sent to the peer.

Address family IPv4 Unicast

IPv4 unicast address family.

Address family RPD

RPD address family.

Authentication type configured

Authentication type.

Last keepalive received

Time when a Keepalive message was last received.

Last update received

Time when an Update message was last received.

Last update sent

Time when an Update message was last sent.

Last keepalive sent

Time at which the last keepalive message is sent.

Minimum route advertisement interval

Minimum route advertisement interval.

  • The minimum interval at which EBGP routes are advertised is 30 seconds.
  • The minimum interval at which IBGP routes are advertised is 15 seconds.
Optional capabilities

(Optional) Peer-supported capabilities.

Route refresh capability has been enabled

Route refreshing has been enabled.

Memory Priority

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

Routing policy configured

Configured routing policy.

Type

BGP link type, which can be IBGP or EBGP.

Port

Port type:

  • Local: indicates the local port number, which is always 179. BGP uses TCP at the transport layer.
  • Remote: indicates the port number used on the peer.
Configured

Locally configured timers.

  • Active Hold Time: indicates the hold time. If BGP does not receive any Keepalive message from the peer in the hold time, BGP considers that the peer is Down and then instructs other peers to remove the routes that are sent from the peer.
  • Keep Alive Time: indicates the interval at which Keepalive messages are sent to the peer. BGP peers exchange Keepalive messages periodically to maintain their relationships.
Negotiated : Active Hold Time

Hold time agreed between the BGP peers after capability negotiation.

Sent

Number of messages sent to a peer.

  • Total: indicates the total number of messages sent to a peer.
  • Update messages: indicates the number of Update messages sent to a peer.
  • Open messages: indicates the number of Open messages sent to a peer.
  • KeepAlive messages: indicates the number of Keepalive messages sent to a peer.
  • Notification messages: indicates the number of Notification messages sent to a peer.
  • Refresh messages: indicates the number of route-refresh messages sent to a peer.
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >