route-select delay (BGP-Labeled 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-Labeled 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.

Example

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