R0106-HP MSR Router Series MPLS Command Reference(V7)

130
Default
MPLS TE uses the dynamically calculated path to establish a CRLSP.
Views
Tunnel interface view
Predefined user roles
network-admin
Parameters
preference value: Set a preference value for the specified path, in the range of 1 to 10. The smaller the
value, the higher the preference.
dynamic: Uses the dynamically calculated path to establish the CRLSP.
explicit-path path-name: Uses the specified explicit path to establish the 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 up to 10 paths for a tunnel interface. The paths must have different preferences.
When establishing a CRLSP, MPLS TE performs CSPF calculations according to the specified paths in a
descending order of preference until the CRLSP is established successfully. If the CSPF calculations for all
paths are failed, the CRLSP cannot be established.
Examples
# Configure that interface Tunnel 0 can use explicit path path1 and the dynamically calculated path to
establish a CRLSP, and set a higher preference for the explicit path.
<Sysname> system-view
[Sysname] interface tunnel 0 mode mpls-te
[Sysname-Tunnel0] mpls te path preference 1 explicit-path path1
[Sysname-Tunnel0] mpls te path preference 2 dynamic
Related commands
display mpls te tunnel-interface
mpls te backup-path
mpls te path-metric-type
Use mpls te path-metric-type to specify the link metric type for a tunnel.
Use undo mpls te path-metric-type to restore the default.
Syntax
mpls te path-metric-type { igp | te }
undo mpls te path-metric-type
Default
No link metric type is specified for path selection of a tunnel.
Views
Tunnel interface view