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 receives the link metrics, it uses the IGP or TE metric for path selection according to the configuration of the mpls te path-metric-type or path-metric-type command.
Examples
# Assign a TE metric of 20 to the link on VLAN-interface 10.
<Sysname> system-view [Sysname] interface vlan-interface 10 [Sysname-Vlan-interface10] mpls te metric 20
Related commands
mpls te path metric-type
path metric-type