R3303-HP HSR6800 Routers MPLS Command Reference
160
Syntax
mpls te path { dynamic | explicit-path path-name } preference value
undo mpls te path { dynamic | explicit-path path-name }
Default
A tunnel uses the dynamically calculated path.
Views
Tunnel interface view
Default command level
2: System level
Parameters
dynamic: Uses the path that is dynamically calculated.
explicit-path path-name: Uses an existing explicit path. The pathname argument is a case-insensitive
string of 1 to 31 characters.
preference value: Specifies the preference of the path. The value argument is in the range of 1 to 10. The
smaller the value, the higher the preference.
Usage guidelines
Up to 10 paths can be specified for an MPLS TE tunnel.
The paths for a tunnel to use must have different preferences.
A path with the highest preference is preferred for CSPF calculation.
Examples
# Configure interface Tunnel 0 to use the explicit path named path1 and the dynamically calculated path,
setting the preferences of the paths to 1 and 2 respectively.
<Sysname> system-view
[Sysname] interface tunnel 0
[Sysname-Tunnel0] mpls te path explicit-path path1 preference 1
[Sysname-Tunnel0] mpls te path dynamic preference 2
mpls te path metric-type
Use mpls te path metric-type in MPLS view to specify the link metric type for path calculation when a
metric type is not explicitly configured for a tunnel.
Use mpls te path metric-type in tunnel interface view to specify the link metric type to be used for path
calculation of the current tunnel.
Use undo mpls te path metric-type to restore the default. This undo form is only available in tunnel
interface view.
Syntax
mpls te path metric-type { igp | te }
undo mpls te path metric-type
Default
In MPLS view, TE metrics of links are used in path calculation for TE tunnels.










