Command Manual – MPLS TE
H3C S9500 Series Routing Switches
Chapter 1 MPLS TE Configuration Commands
1-82
[Sysname-Tunnel3/0/0] mpls te igp advertise hold-time 10000
1.1.62 mpls te igp metric
Syntax
mpls te igp metric
{
absolute
value
|
relative
value
}
undo mpls te igp metric
View
Tunnel interface view
Default Level
2: System level
Parameters
absolute value
: Assigns an absolute metric to the TE tunnel for path calculation. The
value
argument is an integer. This value is directly used for path calculation.
relative value
: Assigns a relative metric to the TE tunnel for path calculation. The
value
argument is an integer. The default is 0. The cost of the corresponding IGP path must
be added to this relative metric before it can be used for path calculation.
Description
Use the
mpls te igp metric
command to assign a metric to the MPLS TE tunnel.
Use the
undo mpls te igp metric
command to restore the default.
By default, TE tunnels take their IGP metrics.
Examples
# Assign MPLS TE tunnel 0 a relative metric of –1 for enhanced SPF calculation in IGP.
<Sysname> system-view
[Sysname] interface Tunnel 3/0/0
[Sysname-Tunnel3/0/0] mpls te igp metric relative -1
1.1.63 mpls te igp shortcut
Syntax
mpls te igp shortcut
[
is-is
|
ospf
]
undo mpls te igp shortcut
View
Tunnel interface view