
177
Parameters
None
Examples
# Reroute MPLS TE tunnel 0 to an available bypass tunnel in case the protected link or node that it
traverses fails.
<Sysname> system-view
[Sysname] interface tunnel 0
[Sysname-Tunnel0] mpls te fast-reroute
mpls te fast-reroute bypass-tunnel
Description
Use the
mpls te fast-reroute bypass-tunnel
command to specify a bypass tunnel for the protected interface.
Use the
undo mpls te fast-reroute bypass-tunnel
command to remove the specified bypass tunnel.
You may perform the
mpls te fast-reroute bypass-tunnel
command multiple times to specify multiple
bypass tunnels for the protected interface. A maximum of three bypass tunnels can be specified for a
protected interface.
When specifying a bypass tunnel, consider the following:
•
The state of the tunnel must be up.
•
The protected interface is not the outgoing interface in the route entries for the LSP of the bypass
tunnel.
A bypass tunnel cannot be used for services like VPN at the same time.
Syntax
mpls te fast-reroute bypass-tunnel
tunnel
tunnel-number
undo mpls te fast-reroute bypass-tunnel tunnel
tunnel-number
View
Interface view
Default level
2: System level
Parameters
tunnel
tunnel-number
: Specifies a bypass tunnel by its tunnel number.
Examples
# Use Tunnel 0 as the bypass tunnel to protect the link connected to VLAN-interface 1.
<Sysname> system-view
[Sysname] interface vlan-interface 1
[Sysname-Vlan-interface1] mpls te fast-reroute bypass-tunnel tunnel 0