route-select delay (BGP-EVPN address family view)

Function

The route-select delay command configures a route selection delay.

The undo route-select delay command deletes the configured route selection delay.

By default, the delay-value value is 0, indicating that route selection is not delayed.

Format

route-select delay delay-value [ exclusive-eviad ]

undo route-select delay

undo route-select delay delay-value [ exclusive-eviad ]

Parameters

Parameter Description Value
delay-value

Specifies a route selection delay.

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

exclusive-eviad

Indicates the route selection delay function for non-EVI AD routes. If exclusive-eviad is not configured and the route-select delay command is run, a device delays route selection for both Layer 3 and EVI AD routes. After exclusive-eviad is configured, route selection is delayed only for Layer 3 routes. This parameter can be specified if users want EVPN VPWS not to be affected after the route selection delay function is enabled.

-

Views

BGP-EVPN address family view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
bgp write

Usage Guidelines

Usage Scenario

When primary and backup paths exist, packets may get lost after traffic switches back to the primary path from the backup path.

A delay for selecting a route to the intermediate device on the primary path is configured. After the primary path recovers, an appropriate delay ensures that traffic switches back to the primary path after the intermediate device completes refreshing forwarding entries.

Precautions

If the route-select delay command is run more than once, the later configuration overrides the previous one. If the route selection delay is reconfigured and the delay timer has started, the newly configured route selection delay will instantly take effect.

A route selection delay takes effect only on routes received from peers, not on the routes that are imported locally.

undo route-select delay command is valid only in the BGP-EVPN address family view.After the route-select delay command is run in the BGP-EVPN address family view, the route selection delay function applies only to IP prefix and EVI AD routes.

Example

# Set the route selection delay to 300s in the BGP-EVPN address family view.
<HUAWEI> system-view
[~HUAWEI] bgp 65001
[*HUAWEI-bgp] l2vpn-family evpn
[*HUAWEI-bgp-af-evpn] route-select delay 300
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >