mpls te protected-interface (Tunnel interface view)

Function

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

The undo mpls te protected-interface command deletes the configuration.

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

Format

mpls te protected-interface { interface-type interface-number | interface-name }

undo mpls te protected-interface { interface-type interface-number | interface-name }

Parameters

Parameter Description Value
interface-type interface-number

Specifies the type and number of an interface to be protected.

The value is a string of 1 to 255 characters.

Views

Tunnel interface view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
mpls-te write

Usage Guidelines

Usage Scenario

Enabling TE FRR improves tunnel security. TE FRR sets up a bypass tunnel to protect a specified node or link.

The mpls te protected-interface command must be used to specify an interface to be protected by a bypass tunnel; otherwise, protection provided by the bypass tunnel fails.

Prerequisites

The MPLS TE tunneling protocol has been specified using the tunnel-protocol mpls te command.

Precautions

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

A bypass tunnel protects a maximum number of 24 MPLS TE-enabled interfaces.

The mpls te protected-interface command run in the tunnel interface view cannot be configured with the following commands:

  • mpls te fast-reroute
  • mpls te backup
  • mpls te detour

Example

# Use a bypass tunnel named Tunnel3 to protect GE 0/1/0.
<HUAWEI> system-view
[~HUAWEI] mpls
[*HUAWEI-mpls] mpls te
[*HUAWEI-mpls] quit
[*HUAWEI] interface GigabitEthernet0/1/0
[*HUAWEI-GigabitEthernet0/1/0] mpls
[*HUAWEI-GigabitEthernet0/1/0] mpls te
[*HUAWEI-GigabitEthernet0/1/0] quit
[*HUAWEI] interface tunnel 3
[*HUAWEI-Tunnel3] tunnel-protocol mpls te
[*HUAWEI-Tunnel3] mpls te protected-interface GigabitEthernet 0/1/0
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >