display bgp sr-policy ipv6 peer verbose

Function

The display bgp sr-policy ipv6 peer verbose command displays detailed information about peers in the BGP IPv6 SR-Policy address family.

Format

display bgp sr-policy ipv6 peer verbose

display bgp sr-policy ipv6 peer ipv6-address verbose

Parameters

Parameter Description Value
ipv6-address

Specifies an IPv6 peer address.

The value is a 32-digit hexadecimal number, in the format of X:X:X:X:X:X:X:X.

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
bgp read

Usage Guidelines

Usage Scenario

The display bgp peer command displays BGP peer information. You can implement the following operations based on the command output:

  • To check the status of BGP connections.
  • To check information about a BGP peer.
  • To check whether a BGP peer is configured using the peer as-number command.
  • To check whether a BGP peer is deleted using the undo peer as-number command.

Example

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

# Display detailed information about a specified peer in the BGP IPv6 SR-Policy address family.
<HUAWEI> display bgp sr-policy ipv6 peer 1::2 verbose

         BGP Peer is 1::2,  remote AS 100
         Type: IBGP link
         BGP version 4, Remote router ID 2.2.2.2
         Update-group ID: 1
         BGP current state: Established, Up for 04h13m03s
         BGP current event: RecvKeepalive
         BGP last state: OpenConfirm
         BGP Peer Up count: 2
         Received total routes: 0
         Received active routes total: 0
         Advertised total routes: 1
         Port: Local - 179        Remote - 50598
         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
         Graceful Restart Capability: advertised and received
             Restart Timer Value received from Peer: 150 seconds
             Address families preserved for peer in GR:
                 IPv6 SR-Policy (was preserved)
         Address family IPv6 SR-Policy: advertised and received
 Received: Total 292 messages
                  Update messages                1
                  Open messages                  1
                  KeepAlive messages             290
                  Notification messages          0
                  Refresh messages               0
 Sent: Total 296 messages
                  Update messages                2
                  Open messages                  2
                  KeepAlive messages             292
                  Notification messages          0
                  Refresh messages               0
 Authentication type configured: None
 Last keepalive received: 2019-10-29 21:03:27+00:00
 Last keepalive sent    : 2019-10-29 21:02:45+00:00
 Last update    received: 2019-10-29 16:50:34+00:00
 Last update    sent    : 2019-10-29 16:50:34+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 sr-policy ipv6 peer verbose command output
Item Description
BGP version

BGP version.

BGP current state

Current BGP state.

  • Idle: BGP denies any connection request. This is the initial status of BGP.
  • Active: BGP attempts to establish a TCP connection. This is the intermediate state of BGP.
  • Established: indicates that BGP peers can exchange Update, Notification, and Keepalive messages.
  • Connect: BGP is waiting for the TCP connection to be established before performing subsequent operations.
  • OpenSent: BGP is waiting for an Open message from the peer.
  • OpenConfirm: BGP is waiting for a Notification message and a Keepalive message.
BGP current event

Current BGP event.

BGP last state

Previous BGP state, which can be Idle, Connect, Active, OpenSent, OpenConfirm, or Established.

BGP Peer Up count

Number of times the BGP peer flaps.

Peer

IP addresses of the peer.

Peer supports bgp route refresh capability

Whether the peer supports the route-refresh capability.

Peer Preferred Value

Preferred value of the peer.

Peer optional capabilities

Optional capabilities of the peer.

AS

AS number.

Update-group ID

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

Received : Active Hold Time

Hold time of the peer.

Received

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.
Received total routes

Number of received route prefixes.

Received active routes total

Number of received active route prefixes.

Advertised total routes

Number of sent route prefixes.

Keepalive Time

Interval for sending Keepalive messages to the peer.

Authentication type configured

Authentication type.

Last keepalive received

Time when a Keepalive message was last received.

Minimum route advertisement interval is 15 seconds

Minimum interval for advertising routes.

  • EBGP: 30s.
  • IBGP: 15s.
Optional capabilities

Capabilities supported by the peer (optional).

Route refresh capability has been enabled

Route-refresh enabled.

Memory Priority

Priority of BGP peer interruption when the memory is overloaded.

Routing policy configured

Configured routing policy.

Type

BGP link type, which can be IBGP Link or EBGP Link.

Port

Port No.

  • Local: local port number. BGP uses TCP as the transport layer protocol and uses the fixed port number 179.
  • Remote: peer port number.
Configured

Locally configured timer.

  • Active Hold Time: If BGP does not receive any Keepalive message from the peer within the Hold Time, BGP considers that the peer is Down. In this case, BGP instructs other peers to withdraw the routes received from the Down router.
  • Keep Alive Time: indicates the interval for sending Keepalive messages to the peer. BGP peers send Keepalive messages to each other periodically to advertise their working status.
Negotiated : Active Hold Time

Hold time agreed between the BGP peers after capability negotiation.

Sent

Number of messages sent to the peer:

  • Total: total number of records.
  • Update messages: number of Update messages.
  • Open messages: number of Open messages.
  • KeepAlive messages: number of Keepalive messages.
  • Notification messages: number of Notification messages.
  • Refresh messages: number of Route-refresh messages.
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >