mpls te lock

Function

The mpls te lock command locks tunnel configurations.

The undo mpls te lock command unlocks tunnel configurations.

By default, no tunnel configurations are locked.

Format

mpls te lock

undo mpls te lock

Parameters

None

Views

Tunnel interface view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
mpls-te debug

Usage Guidelines

Usage Scenario

In service delivery, a controller delivers tunnel configurations to a forwarder. The forwarder uses the obtained configurations to create a tunnel or modify an existing tunnel. To prevent users from modifying such tunnel configurations, the controller delivers the mpls te lock command to lock the configurations, in addition to configurations to the NetEngine 8000 F. Before you modify the configuration of a tunnel, run the undo mpls te lock command to unlock the tunnel configuration on the tunnel interface.

Prerequisites

MPLS TE has been configured as a tunnel protocol using the tunnel-protocol mpls te command.

Example

# Lock the tunnel configuration.
<HUAWEI> system-view
[~HUAWEI] mpls
[*HUAWEI-mpls] mpls te
[*HUAWEI-mpls] quit
[*HUAWEI] interface tunnel 1
[*HUAWEI-Tunnel1] tunnel-protocol mpls te
[*HUAWEI-Tunnel1] mpls te lock
# Unlock the tunnel configuration.
<HUAWEI> system-view
[~HUAWEI] mpls
[*HUAWEI-mpls] mpls te
[*HUAWEI-mpls] quit
[*HUAWEI] interface tunnel 1
[*HUAWEI-Tunnel1] tunnel-protocol mpls te
[*HUAWEI-Tunnel1] undo mpls te lock
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >