active delay-time

Function

The active delay-time command configures a time period during which an AC interface remains in the blocked state.

The undo active delay-time command restores the default time period during which an AC interface remains in the blocked state.

By default, AC interfaces remain in the blocked state for 30s.

Format

active delay-time delay-time

undo active delay-time [ delay-time ]

Parameters

Parameter Description Value
delay-time

Specifies a time period during which an AC interface remains in the blocked state.

The value is an integer ranging from 0 to 256, 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 networks are unstable, AC interfaces may frequently flap, causing frequent PW switching. To prevent this problem, run the active delay-time command to configure a time period during which an AC interface remains in the blocked state. Before delay-time elapses, the AC interface remains in the Down state. After delay-time elapses, the AC interface goes Up. This reduces PW switching frequency.

Prerequisites

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

Example

# Configure an AC interface of the multi-homing site named company 1 to remain in the blocked state for 100s.
<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] active delay-time 100
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >