timer revert delay (VPWS-EVPN instance view)

Function

The timer revert delay command configures the delay switchback time for an EVPN VPWS instance.

The undo timer revert delay command restores the default configuration.

By default, the delay switchback time is 0, indicating that the device performs switchback without a delay.

Format

timer revert delay delay-value

undo timer revert delay delay-value

Parameters

Parameter Description Value
delay-value

Specifies the switchback delay time.

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

Views

VPWS-EVPN instance view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
bgp write

Usage Guidelines

Usage Scenario

In dual-homing scenarios, if a fault on the access-side link of the primary PE or the primary PE is rectified, EVI AD routes are generated on the primary PE. Then, EVI AD routes can be advertised to the remote PE based on the BGP EVPN peer relationship. After receiving the EVI AD routes and generating forwarding entries, the remote PE switches traffic from the path destined for the secondary PE to the path destined for the primary PE. In this case, a few packets may be lost on the primary PE because not all forwarding entries are generated. To address this problem, run the timer revert delay delay-value command on the remote PE to configure a switchback delay time so that the generation of forwarding entries is delayed after the remote PE receives EVI AD routes. Specifically, the forwarding entries are generated after they become stable. If the delay times out, the remote PE generates new forwarding entries and traffic is switched to the primary PE, avoiding packet loss.

Example

# Configure the switchback delay time for an EVPN VPWS instance as 288 seconds.
<HUAWEI> system-view
[~HUAWEI] evpn vpn-instance evrf1 vpws
[*HUAWEI-vpws-evpn-instance-evrf1] route-distinguisher 100:1
[*HUAWEI-vpws-evpn-instance-evrf1] timer revert delay 288
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >