R0106-HP MSR Router Series MPLS Command Reference(V7)
122
Parameters
absolute value: Assigns an absolute metric to the MPLS TE tunnel or tunnel bundle, an integer in the
range of 1 to 65535. An absolute metric is directly used as the MPLS TE tunnel or tunnel bundle's metric.
relative value: Assigns a relative metric to the MPLS TE tunnel or tunnel bundle, an integer in the range
of –10 to +10. The MPLS TE tunnel or tunnel bundle's metric is the assigned metric value plus the IGP
metric.
Usage guidelines
When IGP shortcut is enabled for an MPLS TE tunnel or tunnel bundle, the tunnel is included in the IGP
route calculation as a link. You can use this command to configure the metric of this link used for IGP
route calculation.
Examples
# Assign MPLS TE tunnel interface Tunnel0 a relative metric of –1 for route calculation in IGP shortcut
mechanism.
<Sysname> system-view
[Sysname] interface tunnel 0 mode mpls-te
[Sysname-Tunnel0] mpls te igp metric relative -1
Related commands
mpls te igp shortcut
mpls te igp shortcut
Use mpls te igp shortcut to enable IGP shortcut for an MPLS TE tunnel or tunnel bundle. The tunnel ingress
node includes the MPLS TE tunnel or tunnel bundle in the IGP route calculation as a link.
Use undo mpls te igp shortcut to restore the default.
Syntax
mpls te igp shortcut [ isis | ospf ]
undo mpls te igp shortcut
Default
IGP shortcut is disabled for an MPLS TE tunnel or tunnel bundle. The ingress node does not include the
MPLS TE tunnel or tunnel bundle in the IGP route calculation.
Views
Tunnel interface view, tunnel bundle interface view
Predefined user roles
network-admin
Parameters
isis: Specifies IS-IS as the IGP.
ospf: Specifies OSPF as the IGP.
Usage guidelines
IGP shortcut is a method to direct traffic to an MPLS TE tunnel or tunnel bundle.
After IGP shortcut is enabled on the tunnel ingress node, IGP shortcut does not advertise the MPLS TE
tunnel or tunnel bundle as a link through the IGP. Only the ingress node includes the MPLS TE tunnel or










