The peer local-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 local-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.
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 ("). |
wfrtime |
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. |
Usage Scenario
To set the maximum duration for a device to wait for the End-of-RIB flag from each peer in a group, run the peer local-graceful-restart timer wait-for-rib command on the device. After a 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 involved BGP session on the device exits from the GR process and the device selects the optimal route among reachable routes.
<HUAWEI> system-view [~HUAWEI] bgp 100 [*HUAWEI-bgp] ipv4-family vpn-instance vpn1 [*HUAWEI-bgp-vpn1] group aa [*HUAWEI-bgp-vpn1] peer aa local-graceful-restart timer wait-for-rib 100