display bgp sr-policy ipv6 peer

Function

The display bgp sr-policy ipv6 peer command is used to display the information of the specified BGP IPv6 SR-Policy address family.

Format

display bgp sr-policy ipv6 peer

Parameters

None

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 information about BGP IPv6 SR-Policy peers.
<HUAWEI> display bgp sr-policy ipv6 peer

 BGP local router ID : 1.1.1.1
 Local AS number : 100
 Total number of peers : 1                 Peers in established state : 1

  Peer            V          AS  MsgRcvd  MsgSent  OutQ  Up/Down       State  PrefRcv
  1::2            4         100      287      287     0 04:05:22 Established        0
Table 1 Description of the display bgp sr-policy ipv6 peer command output
Item Description
BGP local router ID

ID of the BGP local router.

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.

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:

  • Idle: indicates that BGP denies any request of entering. This is the initiatory status of BGP.
  • Connect: indicates that BGP is waiting for the TCP connection to be set up before it determines whether to perform other operations.
  • Active: indicates that BGP tries to set up a TCP connection. This is the intermediate status of BGP.
  • OpenSent: indicates that BGP has sent one Open message to its peer and is waiting for the other Open message from the peer.
  • OpenConfirm: indicates that BGP is waiting for a Notification or Keepalive message.
  • Established: indicates that BGP peers can exchange Update, Notification, and Keepalive messages.
PrefRcv

Number of route prefixes sent from the peer.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >