peer graceful-restart static-timer (BGP-Flow VPN instance IPv6 address family view)

Function

The peer graceful-restart static-timer command sets the maximum time for the local end to wait for GR recovery of the peer.

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

By default, the maximum time for the local end to wait for GR recovery of the peer is 0, in seconds.

Format

peer { ipv4-address | ipv6-address } graceful-restart static-timer restart-time

undo peer { ipv4-address | ipv6-address } graceful-restart static-timer restart-time

undo peer { ipv4-address | ipv6-address } graceful-restart static-timer

Parameters

Parameter Description Value
ipv4-address

Specifies the IPv4 address of a peer.

The value is an IPv4 address, in dotted decimal notation.

ipv6-address

Specifies the IPv6 address of a peer.

The format is X:X:X:X:X:X:X:X.

restart-time

Specifies the maximum time for the local end to wait for GR recovery of the peer.

The value is an integer ranging from 3600 to 2147483647, in seconds.

Views

BGP-Flow VPN instance IPv6 address family view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
bgp write

Usage Guidelines

Usage Scenario

Even if you run the graceful-restart timer restart time command in the BGP view, the maximum wait time can be changed to 3600s at most. If some BGP sessions take more than 3600s to re-establish due to poor network conditions, you can run the peer graceful-restart static-timer command to set a proper wait time for a specified peer.

Configuration Impact

If the graceful-restart timer restart command is run in the BGP view and the peer graceful-restart static-timer command is run in any of its views, the latter command takes precedence over the former command.

Precautions

GR has been enabled using the graceful-restart command.

Example

# Set the maximum time for the local end to wait for GR recovery of the peer to 4000s.
<HUAWEI> system-view
[~HUAWEI] ip vpn-instance vpna
[*HUAWEI-vpn-instance-vpna] ipv6-family
[*HUAWEI-vpn-instance-vpn1-af-ipv6] route-distinguisher 100:1
[*HUAWEI-vpn-instance-vpna-af-ipv6] quit
[*HUAWEI-vpn-instance-vpna] quit
[*HUAWEI] bgp 100
[*HUAWEI-bgp] vpn-instance vpna
[*HUAWEI-bgp-instance-vpna] peer 1.1.1.1 as-number 100
[*HUAWEI-bgp-instance-vpna] quit
[*HUAWEI-bgp] ipv6-flow vpn-instance vpna
[*HUAWEI-bgp-flow-6-vpna] peer 1.1.1.1 enable
[*HUAWEI-bgp-flow-6-vpna] peer 1.1.1.1 graceful-restart static-timer 4000
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >