< Home

mpls te protected-interface

Function

The mpls te protected-interface command specifies an interface to be protected by a bypass tunnel.

The undo mpls te protected-interface command delete an interface protected by a bypass tunnel.

By default, no interface to be protected by a bypass tunnel is specified.

Format

mpls te protected-interface interface-type interface-number

undo mpls te protected-interface interface-type interface-number

Parameters

Parameter Description Value
interface-type interface-number Specifies the type and number of the interface to be protected.
  • interface-type specifies the interface type.
  • interface-number specifies the interface number.
-

Views

Tunnel interface view

Default Level

2: Configuration level

Usage Guidelines

The mpls te protected-interface command must be configured together with the mpls te bypass-tunnel command on the same tunnel interface. Otherwise, the configured mpls te protected-interface command cannot take effect.

Currently, a bypass tunnel can protect up to six interfaces that must be enabled with MPLS TE.

If a tunnel interface is configured with the mpls te protected-interface command, it cannot be configured with the mpls te backup or mpls te fast-reroute command.

Example

# Use Tunnel 1 as a bypass tunnel of VLANIF 100.

<HUAWEI> system-view
[HUAWEI] interface tunnel 1
[HUAWEI-Tunnel1] tunnel-protocol mpls te
[HUAWEI-Tunnel1] mpls te protected-interface vlanif 100
[HUAWEI-Tunnel1] mpls te commit
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >