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

153
Syntax
mpls te metric value
undo mpls te metric
Default
The link uses its IGP metric as its TE metric.
Views
Interface view
Default command level
2: System level
Parameters
value: TE metric of the link, in the range of 0 to 4294967295.
Examples
# Assign a TE metric of 20 to the link on interface GigabitEthernet 2/1/1.
<Sysname> system-view
[Sysname] interface giabitethernet 2/1/1
[Sysname-GigabitEthernet2/1/1] mpls te metric 20
Related commands
mpls te path metric-type
mpls te path
Use mpls te path to specify a path for the tunnel to use and set the preference of the path.
Use undo mpls te path to remove a path used by the tunnel.
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.