< Home

graceful-restart timer restart

Function

The graceful-restart timer restart command sets the maximum period from the time when the peer finds that the local peer restarts to the time when the BGP session is reestablished.

The undo graceful-restart timer restart command deletes the setting.

By default, the maximum period from the time when the peer finds that the local peer restarts to the time when the BGP session is reestablished is 150 seconds.

Format

graceful-restart timer restart time

undo graceful-restart timer restart

Parameters

Parameter Description Value
time Specifies the maximum period from the time when the peer finds that the local peer restarts to the time when the BGP session is reestablished. The value ranges from 3 to 4095, in seconds.

Views

BGP view

Default Level

2: Configuration level

Usage Guidelines

Modifying the maximum period for reestablishing the BGP session leads to the reestablishment of the BGP peer relationship.

The graceful-restart timer restart command can be run only after the graceful-restart command is run.

Example

# Set the maximum period for reestablishing the BGP session to 250 seconds.

<HUAWEI> system-view
[HUAWEI] bgp 100
[HUAWEI-bgp] graceful-restart
[HUAWEI-bgp] graceful-restart timer restart 250
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >