R0106-HP MSR Router Series MPLS Command Reference(V7)
129
• mpls te max-reservable-bandwidth
• mpls te max-reservable-bandwidth mam
mpls te metric
Use mpls te metric to assign a TE metric to the link.
Use undo mpls te metric to restore the default.
Syntax
mpls te metric value
undo mpls te metric
Default
A link uses its IGP metric as its TE metric.
Views
Interface view
Predefined user roles
network-admin
Parameters
value: Specifies a TE metric for the link, in the range of 1 to 4294967295.
Usage guidelines
The device carries two types of metrics (IGP metric and TE metric) of a link in the advertised IGP routes.
You can use this command to configure the TE metric. When the tunnel ingress node receives the link
metrics, it uses the IGP metric or the TE metric for path selection according to the configuration of the mpls
te path-metric-type command or the path-metric-type command.
Examples
# Assign a TE metric of 20 to the link on interface GigabitEthernet 2/1/1.
<Sysname> system-view
[Sysname] interface gigabitethernet 2/1/1
[Sysname-GigabitEthernet2/1/1] mpls te metric 20
Related commands
• mpls te path metric-type
• path metric-type
mpls te path
Use mpls te path to specify a path for the tunnel and set the preference of the path.
Use undo mpls te path to delete the specified path.
Syntax
mpls te path preference value { dynamic | explicit-path path-name } [ no-cspf ]
undo mpls te path preference value