R3102-R3103-HP 6600/HSR6600 Routers MPLS Command Reference Guide

155
<Sysname> system-view
[Sysname] mpls
[Sysname-mpls] mpls te path metric-type igp
In tunnel interface view:
# Configure tunnel 0 to use the IGP metric for path calculation.
<Sysname> system-view
[Sysname] interface tunnel 0
[Sysname-Tunnel0] mpls te path metric-type igp
Related commands
mpls te metric
mpls te priority
Use mpls te priority to assign a setup priority and holding priority to the MPLS TE tunnel.
Use undo mpls te priority to restore the default.
Syntax
mpls te priority setup-priority [ hold-priority ]
undo mpls te priority
Default
Both setup and holding priorities of TE tunnels are 7.
Views
Tunnel interface view
Default command level
2: System level
Parameters
setup-priority: Setup priority of the tunnel, in the range of 0 to 7. A lower numerical number indicates a
higher priority.
hold-priority: Holding priority of the tunnel, in the range of 0 to 7. A lower numerical number indicates
a higher priority. If not configured, it is the same as the setup priority.
Usage guidelines
To avoid flapping caused by improper preemptions between TE tunnels, the setup priority of an MPLS TE
tunnel should not be set higher than its holding priority.
Examples
# Set the setup and holding priorities of TE tunnel 0 to 1.
<Sysname> system-view
[Sysname] interface tunnel 0
[Sysname-Tunnel0] mpls te priority 1
mpls te record-route
Use mpls te record-route to enable route recording or label recording for the tunnel.