display bgp multicast peer verbose

Function

The display bgp multicast peer verbose command displays information about a specified MBGP peer.

Format

display bgp multicast peer verbose

display bgp multicast peer peerIpv4Addr verbose

Parameters

Parameter Description Value
peerIpv4Addr

Specifies the IP address of an MBGP peer.

The address 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

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

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

    The display bgp multicast peer command can be used for troubleshooting, with details as follows: If MBGP peers are disconnected, specify log-info in the command to check the log information of the specified peer. In the command output, Date/Time indicates the time when the peers were disconnected, and Error Code and Error Subcode indicate the cause of the disconnection.

Precautions

BGP has multiple address and sub-address families. By default, the display bgp peer command displays information about BGP peers in IPv4 unicast address family only. If you want to view information about BGP peers in another address family, specify its address family parameter.

To view detailed information about a BGP peer, such as information about BGP timers, the number of sent and received routes, capacities supported, the number of sent and received BGP messages, and enabled functions, specify verbose in the command.

Example

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

# Display information about all MBGP peers.
<HUAWEI> display bgp multicast peer verbose
BGP local router ID : 1.1.1.1
 Local AS number : 1
 Total number of peers : 1                 Peers in established state : 1

  Peer            V    AS  MsgRcvd  MsgSent  OutQ  Up/Down       State PrefRcv

  10.2.1.2        4     2       36       37     0 00:15:35 Established      24
Table 1 Description of the display bgp multicast peer verbose command output
Item Description
BGP local router ID

Indicates the ID of the local MBGP router.

Local AS number

Indicates the local AS number.

AS

Indicates the number of the AS where the peer resides.

Total number of peers

Indicates the number of peers.

Peers in established state

Indicates the number of peers among which MBGP peer relationships are established.

Peer

Indicates the IP address of the peer.

V

Indicates the MBGP version.

MsgRcvd

Indicates the number of received messages.

MsgSent

Indicates the number of sent messages.

OutQ

Indicates the message to be sent to the specified peer.

Up/Down

Indicates the period of time during which an MBGP session keeps the current state.

State

Indicates the peer status.

  • Idle: indicates that MBGP denies any connection request. This is the initial status of MBGP.
  • Active: indicates that MBGP tries to set up a TCP connection. This is the intermediate status of MBGP.
  • Established: indicates that MBGP peers can exchange Update, Notification, and Keepalive messages.
  • Connect: indicates that MBGP is waiting for the complete setup of the TCP connection before performing further actions.
  • OpenSent: indicates that MBGP is waiting for an Open message from the peer.
  • OpenConfirm: indicates that MBGP is waiting for a Notification message and a Keepalive message.
  • 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

Indicates the number of route prefixes received by the local peer from the remote peer.

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