graceful-restart (BGP)

Function

The graceful-restart command enables GR of the BGP speaker in the specified address family, peer address or peer group view.

The undo graceful-restart command disables BGP GR.

By default, BGP GR is disabled.

Format

graceful-restart

undo graceful-restart

Parameters

None

Views

BGP view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

BGP restart causes reestablishment of peer relationships and traffic interruption. After the graceful-restart command is run to enable GR, traffic interruption can be prevented in the event of BGP restart.

Configuration Impact

Enabling or disabling GR may delete and reestablish all BGP sessions and instances.

Follow-up Procedure

After running the graceful-restart command, run the graceful-restart timer wait-for-rib command to set the time for waiting for the End-Of-RIB flag.

Precautions

If the graceful-restart timer wait-for-rib command has been configured, using the undo graceful-restart command will delete the graceful-restart timer wait-for-rib command configuration.

Example

# Enable BGP speaker GR of BGP process 100.

<sysname> system-view
[sysname] bgp 100
[sysname-bgp] graceful-restart

Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.