recover delay-time

Function

The recover delay-time command configures a delay after which an AC interface becomes active upon a device restart.

The undo recover delay-time command restores the default delay after which an AC interface becomes active upon a device restart.

By default, AC interfaces become active after a delay of 180s upon a device restart.

Format

recover delay-time delay-time

undo recover delay-time [ delay-time ]

Parameters

Parameter Description Value
delay-time

Specifies a delay after which an AC interface becomes active.

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

Views

VSI-BGP-SITE view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
l2vpn write

Usage Guidelines

Usage Scenario

In VPLS multi-homing scenarios, if an AC interface becomes active immediately after the PE is restarted, the following problems may occur:

  • The local PE immediately becomes the master device. Because the remote PE becomes the backup device only after receiving BGP Update messages carrying the local PE status from the local PE, both PEs become the master devices, forming a loop between the multi-homed CE and the PEs.
  • The local PE immediately becomes the master device, but the remote PE cannot converge routes in time, causing traffic loss.

    To prevent these problems, run the recover delay-time command to configure a delay after which an AC interface becomes active. Before delay-time elapses, the AC interface remains in the blocked state. After delay-time elapses, the AC interface is unblocked and becomes active. This prevents dual master devices and traffic loss.

Prerequisites

A multi-homing site ID has been configured using the site-id site-id command.

Example

# Configure a delay of 200s after which the AC interface of the multi-homing site named company 1 becomes active.
<HUAWEI> system-view
[~HUAWEI] mpls
[*HUAWEI-mpls] quit
[*HUAWEI] mpls l2vpn
[*HUAWEI-l2vpn] quit
[*HUAWEI] vsi vsi1
[*HUAWEI-vsi-vsi1] pwsignal bgp multi-homing
[*HUAWEI-vsi-vsi1-bgp] route-distinguisher 192.168.1.1:1
[*HUAWEI-vsi-vsi1-bgp] site name company1
[*HUAWEI-vsi-vsi1-bgp-site-company1] site-id 20
[*HUAWEI-vsi-vsi1-bgp-site-company1] recover delay-time 200
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >