display bgp mdt peer (or slow-peer)

Function

The display bgp mdt all peer command displays information about MDT peers and their status.

The display bgp mdt slow-peer command displays information about MDT slow peers.

Format

display bgp mdt all peer

display bgp mdt 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 MDT peers and their status, run the display bgp mdt all peer command. The command output shows the following information:

  • MDT peer connection status
  • MDT peer configurations
  • Whether MDT peers are successfully configured
  • Whether MDT peers are successfully deleted

    To check information about slow BGP peers, run the display bgp mdt 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 MDT peers.
<HUAWEI> display bgp mdt all 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
# Display information about slow BGP peers in the MDT address family.
<HUAWEI> display bgp mdt slow-peer
Total number of peers : 2                 
 Switchback detection timer: Remaining 3581 Second(s)
 Peer            LastSlowEndTime              SlowStartTime                SlowCount 
 10.1.1.1        2019-04-10 20:41:33+00:00    2016-04-12 00:02:33+00:00    3 
 10.2.2.1        2019-04-11 23:02:40+00:00    2016-04-12 00:02:40+00:00    5
Table 1 Description of the display bgp mdt peer (or slow-peer) command output
Item Description
BGP local router ID

BGP local router ID.

Local AS number

Local AS number.

AS

Autonomous system number.

Total number of peers

Total number of MDT peers.

Peers in established state

Number of MDT peers in Established state.

Peer

IP address of a MDT peer.

Peer

IP address of a slow peer.

V

BGP version used by a MDT 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 MDT peer.

Switchback detection timer

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

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.

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