display bgp graceful-restart status

Function

The display bgp graceful-restart status command displays GR information on a BGP speaker.

The display bgp local-graceful-restart status command displays information about local GR on a BGP speaker.

Format

display bgp [ instance instance-name ] graceful-restart status

display bgp [ instance instance-name ] local-graceful-restart status

Parameters

Parameter Description Value
instance instance-name

Specifies the name of a BGP multi-instance.

The value is a string of 1 to 31 case-sensitive characters, spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string.

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
bgp read

Usage Guidelines

Usage Scenario

To check GR information on a BGP speaker, run the display bgp graceful-restart status command.

To check information about local GR on a BGP speaker, run the display bgp local-graceful-restart status command.

Example

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

# Display information about local GR on a BGP speaker.
<HUAWEI> display bgp local-graceful-restart status
-------------------------------------------------------
IPv4-UNC (_public_)
Peers:
   1.1.1.1
     Peer state: Active
     GR state: false
-------------------------------------------------------
IPv4-UNC (_public_)
Peers:
   10.1.1.1
     Peer state: Established
     GR state: false
# Display GR information on a BGP speaker.
<HUAWEI> display bgp graceful-restart status
-------------------- BGP SYSTEM GR STATUS -------------
 GR is configured, TimerValues (RESTARTER: 150, EOR:600)
-------------------------------------------------------
IPv4-UNC (_public_)
Peers:
   1.1.1.1
    GR capability is not negotiated
     Peer state: Active
     GR state: false
-------------------------------------------------------
IPv4-UNC (_public_)
Peers:
   10.1.1.1
    GR capability is negotiated
     Peer capability: Forward
     Peer state: Established
     GR state: false
Table 1 Description of the display bgp graceful-restart status command output
Item Description
IPv4-UNC (_public_)

Public unicast address family.

Peer capability

Peer capability:

  • Restart (R): indicates that the specified peer has been restarted. The BGP speaker can directly advertise routing information to the specified peer without waiting for the EOR flag from the specified peer.
  • Forward (F): indicates that the specified peer retains the routing information of the corresponding address family during BGP restart to maintain forwarding.
Peer state

Status of the peer:

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

The GR capability of the BGP speaker is enabled. You can run the graceful-restart command to enable the GR capability of the BGP speaker;

If the GR capability of the BGP speaker is not enabled, the message "GR is not configured" is displayed.

GR capability is not negotiated

The GR capability failed to be negotiated.

GR capability is negotiated

The GR capability is negotiated successfully.

GR state

GR status of the peer:

  • true: The peer is in the GR state.
  • false: The peer is not in the GR state.
TimerValues

Value of the timer.

RESTARTER

Time taken to wait for the peer relationship to be reestablished, in seconds.

EOR

Time of waiting for the End-Of-RIB message, in seconds.

Peers

Peer.

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