lsp-loopback autoclear

Function

The lsp-loopback autoclear command sets a timeout period, after which loopback detection for a static bidirectional co-routed CR-LSP is automatically disabled.

The undo lsp-loopback autoclear command restores the default timeout period.

By default, the timeout period is 5 minutes.

Format

lsp-loopback autoclear period time-value

undo lsp-loopback autoclear

Parameters

Parameter Description Value
period time-value

Sets a timeout period, after which loopback detection for a static bidirectional co-routed CR-LSP is automatically disabled.

The value is an integer ranging from 1 to 2880, in minutes. By default, the value is 5.

Views

MPLS view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
mpls-te write

Usage Guidelines

Usage Scenario

After the lsp-loopback start command is run to enable loopback detection on a transit node of a static bidirectional co-routed CR-LSP, loopback detection is automatically disabled after 5 minutes by default. To set a timeout period after which loopback detection for a static bidirectional co-routed CR-LSP is automatically disabled, run the lsp-loopback autoclear command.

Prerequisites

MPLS TE has been enabled using the mpls te command.

Example

# Set the timeout period to 3 minutes, after which loopback detection for a static bidirectional co-routed CR-LSP is automatically disabled.
<HUAWEI> system-view
[~HUAWEI] mpls
[*HUAWEI-mpls] mpls te
[*HUAWEI-mpls] lsp-loopback autoclear period 3
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >