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

Function

The peer graceful-restart timer restart command sets the maximum duration on a device for each peer in a specified group to wait for its BGP peer relationship to be reestablished with the device. After the command is run, the device will advertise the maximum duration to all the peers in the specified group.

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

By default, each peer in a specified group on a device waits for its BGP peer relationship to be reestablished for a maximum of 150 seconds.

Format

peer group-name graceful-restart timer restart time-value

undo peer group-name graceful-restart timer restart

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 on a device for each peer in a specified group to wait for its BGP peer relationship to be reestablished with the device.

The value is an integer ranging from 3 to 3600, 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 on a device for each peer in a specified group to wait for its BGP peer relationship to be reestablished with the device, run the peer graceful-restart timer restart command.

Configuration Impact

After the peer graceful-restart timer restart command is run, the involved BGP peer relationships will be disconnected and then reestablished.

Example

# Set the maximum duration to 100s on a device for each peer in a specified group to wait for its BGP peer relationship to be reestablished with the device.
<HUAWEI> system-view
[~HUAWEI] ip vpn-instance vpn1
[*HUAWEI-vpn-instance-vpn1] ipv4-family
[*HUAWEI-vpn-instance-vpn1-af-ipv4] bgp 100
[*HUAWEI-bgp] ipv4-family vpn-instance vpn1
[*HUAWEI-bgp-vpn1] group a
[*HUAWEI-bgp-vpn1] peer a graceful-restart timer restart 100
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >