nexthop recursive-lookup delay (BGP-VPN instance IPv6 address family view)

Function

The nexthop recursive-lookup delay command configures a delay in responding to changes in the next hop recursion result.

The undo nexthop recursive-lookup delay command restores the default configuration.

The nexthop recursive-lookup non-critical-event delay command configures a delay in responding to non-critical next-hop recursion changes.

The undo nexthop recursive-lookup non-critical-event delay command restores the default configuration.

By default, a device immediately responds to BGP recursion changes.

Format

nexthop recursive-lookup delay [ delay-time ]

nexthop recursive-lookup non-critical-event delay [ nonCrit-delay-time ]

undo nexthop recursive-lookup delay

undo nexthop recursive-lookup non-critical-event delay

Parameters

Parameter Description Value
delay-time

Specifies the delay in responding to next hop changes.

The value is an integer in the range of 1 to 100, in seconds. The default value is 5 seconds.

nonCrit-delay-time

Indicates the delay in responding to non-critical recursion changes.

The value is an integer ranging from 0 to 100, in seconds. The default value is 10.

Views

BGP-VPN instance IPv6 address family view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
bgp write

Usage Guidelines

Usage Scenario

If repeated recursion causes the BGP next hop to frequently change on a device, the device frequently selects and advertises routes. To prevent unwanted re-routing and route advertisement, run the nexthop recursive-lookup delay command to enable the device to respond to BGP recursion changes after a specified delay time. The recursion results are as follows:

  • Critical recursion result change: The recursive next hop is changed, and BGP route reachability is also changed. For example, if a fault occurs on a network, a device finds no next-hop route or tunnel to which a BGP route recurses. As a result, traffic is interrupted.
  • Non-critical recursion result change: The recursive next hop is changed, and BGP route reachability is not affected. For example, after the interface or type of a tunnel to which the next hop of a BGP route recurses is changed, traffic keeps traveling over the BGP route.

Precautions

The delay time specified in the nexthop recursive-lookup non-critical-event delay command must be greater than or equal to that specified in the nexthop recursive-lookup delay command if both commands are run.

The BGP next hop delayed response applies to a scenario where the next hop has multiple links to reach the same destination. If there is only one link between the next hop and the destination, configuring the BGP next hop delayed response may cause heavier traffic loss when the link fails because link switching is impossible.

Example

# Enable the device to respond to non-critical BGP recursion changes after a 10-second delay.
<HUAWEI> system-view
[~HUAWEI] ip vpn-instance vpna
[*HUAWEI-vpn-instance-vpna] ipv6-family
[*HUAWEI-vpn-instance-vpna-af-ipv6] route-distinguisher 100:1
[*HUAWEI-vpn-instance-vpna-af-ipv6] vpn-target 111:1 both
[*HUAWEI-vpn-instance-vpna-af-ipv6] quit
[*HUAWEI-instance-vpna] quit
[*HUAWEI] bgp 100
[*HUAWEI-bgp] ipv6-family vpn-instance vrf1
[*HUAWEI-bgp-6-vrf1] nexthop recursive-lookup non-critical-event delay 10
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >