Configuring a bypass tunnel on the PLR

Overview

To configure FRR, you must configure bypass tunnels for primary CRLSPs on the PLR by using the following methods:

A primary tunnel can have both manually configured and automatically created bypass tunnels. The PLR will select one bypass tunnel to protect the primary CRLSP. The selected bypass tunnel is bound to the primary CRLSP.

Manually created bypass tunnels take precedence over automatically created bypass tunnels. An automatically created bypass tunnel in node protection mode takes precedence over an automatically created bypass tunnel in link protection mode. Among manually created bypass tunnels, the PLR selects the bypass tunnel for protecting the primary CRLSP by following these rules:

  1. Selects a bypass tunnel according to the principles, as shown in Table 2.

  2. Prefers the bypass tunnel in node protection mode over the one in link protection mode.

  3. Prefers the bypass tunnel with a smaller ID over the one with a bigger tunnel ID.

Table 2: FRR protection principles

Bandwidth required by primary CRLSP

Primary CRLSP requires bandwidth protection or not

Bypass tunnel providing bandwidth protection

Bypass tunnel providing no bandwidth protection

0

Yes

The primary CRLSP cannot be bound to the bypass tunnel.

The primary CRLSP can be bound to the bypass tunnel if CT 0 or no CT is specified for the bypass tunnel.

After binding, the RRO message does not carry the bandwidth protection flag. The bypass tunnel does not provide bandwidth protection for the primary CRLSP, and performs best-effort forwarding for traffic of the primary CRLSP.

No

None-zero

Yes

The primary CRLSP can be bound to the bypass tunnel when all the following conditions are met:

  • The bandwidth that the bypass tunnel can protect is no less than the bandwidth required by the primary CRLSP.

  • There is not a CT specified for the bypass tunnel, or the specified CT is the same as that specified for the primary CRLSP.

After binding, the RRO message carries the bandwidth protection flag, and the bypass tunnel provides bandwidth protection for the primary CRLSP.

The primary CRLSP prefers bypass tunnels that provide bandwidth protection over those providing no bandwidth protection.

The primary CRLSP can be bound to the bypass tunnel when one of the following conditions is met:

  • No CT is specified for the bypass tunnel.

  • The specified CT is the same as that specified for the primary CRLSP.

After binding, the RRO message does not carry the bandwidth protection flag.

This bypass tunnel is selected only when no bypass tunnel that provides bandwidth protection can be bound to the primary CRLSP.

Non-zero

No

The primary CRLSP can be bound to the bypass tunnel when all the following conditions are met:

  • The bandwidth that the bypass tunnel can protect is no less than the bandwidth required by the primary CRLSP.

  • No CT that the bypass tunnel can protect is specified, or the specified CT is the same as that of the traffic on the primary CRLSP.

After binding, the RRO message carries the bandwidth protection flag.

This bypass tunnel is selected only when no bypass tunnel that does not provide bandwidth protection can be bound to the primary CRLSP.

The primary CRLSP can be bound to the bypass tunnel when one of the following conditions is met:

  • No CT is specified for the bypass tunnel.

  • The specified CT is the same as that of the traffic on the primary CRLSP.

After binding, the RRO message does not carry the bandwidth protection flag.

The primary CRLSP prefers bypass tunnels that does not provide bandwidth protection over those providing bandwidth protection.

Configuration restrictions and guidelines

When you configure a bypass tunnel on the PLR, follow these restrictions and guidelines:

Manually configuring a bypass tunnel

The bypass tunnel setup method is the same as a normal MPLS TE tunnel. This section describes only FRR-related configurations.

To configure a bypass tunnel on the PLR:

Step

Command

Remarks

1. Enter system view.

system-view

N/A

2. Enter tunnel interface view of the bypass tunnel.

interface tunnel tunnel-number [ mode mpls-te ]

N/A

3. Specify the destination address of the bypass tunnel.

destination ip-address

The bypass tunnel destination address is the LSR ID of the MP.

4. Configure the bandwidth and the CT to be protected by the bypass tunnel.

mpls te backup bandwidth [ ct0 | ct1 | ct2 | ct3 ] { bandwidth | un-limited }

By default, the bandwidth and the CT to be protected by the bypass tunnel are not specified.

5. Return to system view.

quit

N/A

6. Enter interface view of the output interface of a primary CRLSP.

interface interface-type interface-number

N/A

7. Specify a bypass tunnel for the protected interface.

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

By default, no bypass tunnel is specified for an interface.

Automatically setting up bypass tunnels

With auto FRR, if the PLR is the penultimate node of a primary CRLSP, the PLR does not create a node-protection bypass tunnel for the primary CRLSP.

An automatically created bypass tunnel can protect multiple primary CRLSPs. A bypass tunnel is unused when the bypass tunnel is not bound to any primary CRLSP. When a bypass tunnel is unused for the period of time configured by the timers removal unused command, MPLS TE removes the bypass tunnel.

To configure auto FRR on the PLR:

Step

Command

Remarks

1. Enter system view.

system-view

N/A

2. Enter MPLS TE view.

mpls te

N/A

3. Enable the auto FRR feature globally.

auto-tunnel backup

By default, the auto FRR feature is disabled globally.

4. Specify an interface number range for the automatically created bypass tunnels.

tunnel-number min min-number max max-number

By default, no interface number range is specified, and the PLR cannot set up a bypass tunnel automatically.

5. (Optional.) Configure the PLR to create only link-protection bypass tunnels.

nhop-only

By default, the PLR automatically creates both a link-protection and a node-protection bypass tunnel for each of its primary CRLSPs.

Execution of this command deletes all existing node-protection bypass tunnels automatically created for MPLS TE auto FRR.

6. (Optional.) Set a removal timer for unused bypass tunnels.

timers removal unused seconds

By default, a bypass tunnel is removed after it is unused for 3600 seconds.

7. (Optional.) Return to system view.

quit

N/A

8. (Optional.) Enter interface view.

interface interface-type interface-number

N/A

9. (Optional.) Disable the auto FRR feature on the interface.

mpls te auto-tunnel backup disable

By default, the auto FRR feature is enabled on all RSVP-enabled interfaces after it is enabled globally.

Execution of this command deletes all existing bypass tunnels automatically created on the interface for MPLS TE auto FRR.