mpls te fast-reroute bypass-tunnel

Use mpls te fast-reroute bypass-tunnel to specify a bypass tunnel for an interface.

Use undo mpls te fast-reroute bypass-tunnel to delete a bypass tunnel from an interface.

Syntax

mpls te fast-reroute bypass-tunnel tunnel tunnel-number

undo mpls te fast-reroute bypass-tunnel tunnel tunnel-number

Default

No bypass tunnel is specified for an interface.

Views

Interface view

Predefined user roles

network-admin

Parameters

tunnel tunnel-number: Specifies a bypass tunnel by the tunnel interface number. The value range for the tunnel-number argument varies by device operating mode. For more information about configuring the device operating mode, see Fundamentals Configuration Guide.The specified bypass tunnel must be established by RSVP, and the protected interface must not be the outgoing interface of a bypass tunnel.

Usage guidelines

The protected interface (where the command is executed) is the outgoing interface of a primary CRLSP. When the outgoing interface is down or a neighbor failure is detected through the BFD or hello mechanism, traffic of the primary CRLSP is switched to the bypass tunnel.

When you use this command, follow these restrictions and guidelines:

Examples

# Configure tunnel interface Tunnel 0 as the bypass tunnel for VLAN-interface 10.

<Sysname> system-view
[Sysname] interface vlan-interface 10
[Sysname-Vlan-interface10] mpls te fast-reroute bypass-tunnel tunnel 0

Related commands

fast-reroute timer