R3303-HP HSR6800 Routers MPLS Command Reference
154
Usage guidelines
You can configure a metric, either absolute or relative, for a tunnel to be used as an IGP shortcut or a
forwarding adjacency. If it is absolute, the metric is directly used for path calculation. If it is relative, the
cost of the corresponding IGP path must be added to the metric for path calculation.
Examples
# Assign MPLS TE tunnel 0 a relative metric of –1 for path calculation in IGP shortcut or forwarding
adjacency mechanism.
<Sysname> system-view
[Sysname] interface tunnel 0
[Sysname-Tunnel0] mpls te igp metric relative -1
mpls te igp shortcut
Use mpls te igp shortcut to enable IS-IS or OSPF to consider the MPLS TE tunnel in its enhanced SPF
calculation when the tunnel is up. If no IGP protocol is specified, the command applies to both OSPF and
IS-IS.
Use undo mpls te igp shortcut to restore the default.
Syntax
mpls te igp shortcut [ isis | ospf ]
undo mpls te igp shortcut
Default
An IGP does not consider MPLS TE tunnels in its enhanced SPF calculation.
Views
Tunnel interface view
Default command level
2: System level
Parameters
isis: Sets the IGP protocol to IS-IS.
ospf: Sets the IGP protocol to OSPF.
Usage guidelines
The mpls te igp shortcut command cannot be used together with the mpls te igp advertise command.
Examples
# Enable OSPF and IS-IS to consider TE tunnel 0 (in up state) in its enhanced SPF calculation.
<Sysname> system-view
[Sysname] interface tunnel 0
[Sysname-Tunnel0] mpls te igp shortcut
mpls te link administrative group
Use mpls te link administrative group to configure the link administrative group attribute.
Use undo mpls te link administrative group to restore the default.










