peer graceful-restart timer wait-for-rib (BGP-VPN instance view)

Function

The peer graceful-restart timer wait-for-rib command sets the maximum duration for a BGP restarter to wait for the End-of-RIB flag from a specified peer.

The undo peer graceful-restart timer wait-for-rib command deletes the configured duration.

By default, a BGP restarter waits for the End-of-RIB flag from a specified peer for a maximum of 600s.

Format

peer ipv4-address graceful-restart timer wait-for-rib time-value

peer ipv6-address graceful-restart timer wait-for-rib time-value

undo peer ipv4-address graceful-restart timer wait-for-rib

undo peer ipv6-address graceful-restart timer wait-for-rib

Parameters

Parameter Description Value
ipv4-address

Specifies the IPv4 address of a BGP peer.

The value is in dotted decimal notation.

time-value

Specifies the maximum duration for a BGP restarter to wait for the End-of-RIB flag.

The value is an integer ranging from 3 to 3000, in seconds.

ipv6-address

Specifies the IPv6 address of a BGP peer.

The value is a 32-digit hexadecimal number, in the format of X:X:X:X:X:X:X:X.

Views

BGP-VPN instance view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
bgp write

Usage Guidelines

Usage Scenario

If a device and a BGP peer specified on the device both support GR, you can run the peer graceful-restart timer wait-for-rib command to set the maximum duration for the device to wait for the End-of-RIB flag from the peer. After the BGP session between the device and the peer is reestablished, if the device does not receive the End-of-RIB flag within the specified duration, the BGP session on the device exits from the GR process and the device selects the optimal route among reachable routes.

Configuration Impact

If the peer graceful-restart timer wait-for-rib command is run more than once, the latest configuration overrides the previous one.

Example

# Set the maximum duration during which a BGP restarter waits for the End-of-RIB flag from a specified peer to 100s.
<HUAWEI> system-view
[~HUAWEI] ip vpn-instance vpna
[*HUAWEI-vpn-instance-vpna] route-distinguisher 100:1
[*HUAWEI-vpn-instance-vpna] bgp 100
[*HUAWEI-bgp] vpn-instance vpna
[*HUAWEI-bgp-instance-vpna] peer 10.1.1.1 as-number 100
[*HUAWEI-bgp-instance-vpna] peer 10.1.1.1 graceful-restart timer wait-for-rib 100
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >