mpls te backup-path

Use mpls te backup-path to specify a path for the backup CRLSP and set the preference of the path.

Use undo mpls te backup-path to delete the specified path for the backup CRLSP.

Syntax

mpls te backup-path preference value { dynamic [ pce [ ip-address ]&<0-8> ] | explicit-path path-name } [ no-cspf ]

undo mpls te backup-path preference value

Default

MPLS TE uses the dynamically calculated path to establish the backup CRLSP.

Views

Tunnel interface view

Predefined user roles

network-admin

Parameters

preference value: Specifies a preference value for a path, in the range of 1 to 10. A smaller value represents a higher preference.

dynamic: Uses the path dynamically calculated by CSPF to establish the backup CRLSP.

pce: Uses the path calculated by PCEs to establish the CRLSP. If you do not specify this keyword, the local LSR uses the path dynamically calculated by CSPF.

[ ip-address ]&<0-8>: Specifies a space-separated list of a maximum of eight PCE addresses. If you do not specify a PCE address, the system automatically selects a PCE from the discovered PCEs. If you specify more than one PCE address, a BRPC calculation will be performed on the specified PCEs in configuration order.

explicit-path path-name: Uses the specified explicit path to establish the backup CRLSP. The path-name argument specifies the name of an explicit path, a case-sensitive string of 1 to 31 characters.

no-cspf: Calculates the path by searching the routing table instead of using the CSPF algorithm.

Usage guidelines

You can specify a maximum of 10 backup paths for a tunnel interface. The backup paths must have different preferences.

When establishing a backup CRLSP, MPLS TE performs CSPF calculations using the specified paths in the descending order of preference until the backup CRLSP is established successfully. If the CSPF calculations for all paths are failed, the backup CRLSP cannot be established.

This command takes effect only when backup has been enabled for the tunnel by using the mpls te backup command.

If you specify PCE addresses in this command or in the mpls te path command, the local device establishes PCEP sessions to the specified PCEs. If you do not specify a PCE address, the local device establishes PCEP sessions to all discovered PCEs.

Examples

# Configure Tunnel 0 to use explicit path path1 and the path calculated by PCEs to establish a backup CRLSP. Set a higher preference for the path calculated by PCEs.

<Sysname> system-view
[Sysname] interface tunnel 0 mode mpls-te
[Sysname-Tunnel0] mpls te backup-path preference 2 explicit-path path1
[Sysname-Tunnel0] mpls te backup-path preference 1 dynamic pce 1.1.1.9 2.2.2.9

Related commands

display mpls te tunnel-interface

mpls te backup

mpls te path