trigger unblock-delay

Function

The trigger unblock-delay command sets the maximum hold-off time for unblocking service VSI PWs.

The undo trigger unblock-delay command deletes the configured maximum hold-off time for unblocking service VSI PWs.

By default, the maximum hold-off time for unblocking service VSI PWs is not set.

Format

trigger unblock-delay max-delay-time

undo trigger unblock-delay max-delay-time

Parameters

Parameter Description Value
max-delay-time

Specifies a hold-off time for unblocking service VSI PWs.

The value is an integer ranging from 1 to 300, in seconds.

Views

mpls-l2vpn-monitor-group view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
l2vpn write

Usage Guidelines

Usage Scenario

To set the maximum hold-off time for unblocking service VSI PWs, run the trigger unblock-delay command. After service VSI PWs are configured to track an L2VPN monitoring group, if the protocol VSI PWs bound to the L2VPN monitoring group all go Up, the maximum hold-off timer for unblocking the service VSI PWs is started. After the maximum hold-off time elapses, the service VSI PWs are unblocked.

Precautions

Service VSI PWs will be unblocked under either of the following conditions:

  • The protocol VSI PWs bound to an L2VPN monitoring group all go Up, and the hold-off time for unblocking the service VSI PWs expires.
  • The protocol VSI PWs bound to an L2VPN monitoring group remain Down, but the maximum hold-off time for unblocking the service VSI PWs expires.

Example

# Set the maximum hold-off time for unblocking service VSI PWs to 15s.
<HUAWEI> system-view
[~HUAWEI] mpls l2vpn
[*HUAWEI-l2vpn] monitor-group group1
[*HUAWEI-l2vpn-monitor-group-group1] trigger unblock-delay 15
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >