display bgp link-state unicast peer

Function

The display bgp link-state unicast peer command displays information about BGP-LS peers and their status.

The display bgp link-state unicast slow-peer command displays information about BGP-LS slow peers.

Format

display bgp link-state unicast peer

display bgp link-state unicast slow-peer

Parameters

None

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
bgp read

Usage Guidelines

Usage Scenario

To check information about BGP-LS peers and their status, run the display bgp link-state unicast peer command. The command output shows the following information:

  • BGP-LS peer connection status
  • BGP-LS peer configurations
  • Whether BGP-LS peers are successfully configured
  • Whether BGP-LS peers are successfully deleted

    To check information about slow BGP peers, run the display bgp link-state unicast slow-peer command. The information includes the time when a peer began to be identified as a slow peer, the time when a peer last exited from the slow peer state, the number of times a peer has been identified as a slow peer, and the remaining time for a peer to exit from the slow peer state.

Example

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

# Display information about slow BGP peers in the BGP-LS address family.
<HUAWEI> display bgp link-state unicast 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
# Display information about BGP-LS peers and their status.
<HUAWEI> display bgp link-state unicast peer
BGP local router ID : 192.168.102.3
 Local AS number : 100
 Total number of peers : 1                 Peers in established state : 1

  Peer            V          AS  MsgRcvd  MsgSent  OutQ  Up/Down       State  PrefRcv
  192.168.102.4   4         100       52       55     0 00:39:10 Established        4
Table 1 Description of the display bgp link-state unicast peer command output
Item Description
Total number of peers

Total number of BGP-LS peers.

Switchback detection timer

Remaining time for a peer to exit from the slow peer state.

Peer

IP address of a BGP-LS peer.

Peer

IP address of a slow peer.

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.

BGP local router ID

BGP local router ID.

Local AS number

Local AS number.

AS

Autonomous system number.

Peers in established state

Number of BGP-LS peers in Established state.

V

BGP version used by a BGP-LS peer.

MsgRcvd

Number of received messages.

MsgSent

Number of sent messages.

OutQ

Number of messages to be sent to the specified peer.

Up/Down

Duration in which the BGP session remains in the current state.

State

Current BGP state:

  • Idle: BGP denies all connection requests. This is the initial state of BGP.
  • Connect: BGP is waiting for the TCP connection establishment to complete before performing further actions.
  • Active: BGP tries to set up a TCP connection. This is an intermediate state of BGP.
  • OpenSent: BGP has sent an Open message to a peer and is now waiting for an Open message from the peer.
  • OpenConfirm: BGP is waiting for a Notification or Keepalive message.
  • Established: BGP peers can exchange Update, Notification, and Keepalive messages.
  • 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.
PrefRcv

Number of route prefixes received from a BGP-LS peer.

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