peer graceful-restart timer wait-for-rib (BGP-VPN instance IPv4 address family view) (group)

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 each peer in a specified group.

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 each peer in a specified group for a maximum of 600s.

Format

peer group-name graceful-restart timer wait-for-rib time-value

undo peer group-name graceful-restart timer wait-for-rib

Parameters

Parameter Description Value
group-name

Specifies the name of a BGP peer group.

The value is a string of 1 to 47 case-sensitive characters. If spaces are used, the string must start and end with double quotation marks (").

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.

Views

BGP-VPN instance IPv4 address family view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
bgp write

Usage Guidelines

Usage Scenario

To set the maximum duration for a device to wait for the End-of-RIB flag from each peer in a specified group, run the peer graceful-restart timer wait-for-rib command on the device. After the BGP session between the device and a peer in the group 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 each peer in a specified group 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] ipv4-family vpn-instance vpna
[*HUAWEI-bgp-vpna] group aaa
[*HUAWEI-bgp-vpna] peer aaa graceful-restart timer wait-for-rib 100
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >