route-select delay (BGP multi-instance VPNv4 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.

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

Format

route-select delay delay-value

undo route-select delay

Parameters

Parameter Description Value
delay-value

Specifies a route selection delay.

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

Views

BGP multi-instance VPNv4 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.

To address this problem, run the route-select delay command on PE3 to configure a route selection delay. An appropriate delay ensures that traffic switches back to the primary path after PE1 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.

Example

# Set the route selection delay to 300s.
<HUAWEI> system-view
[~HUAWEI] bgp 100 instance p1
[*HUAWEI-bgp-instance-p1] ipv4-family vpnv4
[*HUAWEI-bgp-instance-p1-af-vpnv4] route-select delay 300
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >