![H3C S9500 Series Скачать руководство пользователя страница 179](http://html.mh-extra.com/html/h3c/s9500-series/s9500-series_command-manual_575036179.webp)
Command Manual – MPLS TE
H3C S9500 Series Routing Switches
Chapter 1 MPLS TE Configuration Commands
1-88
<Sysname> system-view
[Sysname] interface Tunnel 3/0/1
[Sysname-Tunnel3/0/1] mpls te path explicit-path path1
1.1.70 mpls te path metric-type
Syntax
mpls te path metric-type
{
igp
|
te
}
undo mpls te path metric-type
View
MPLS view, tunnel interface view
Default Level
2: System level
Parameters
igp
: Uses IGP metric for tunnel routing.
te
: Uses TE metric for tunnel routing.
Description
Use the
mpls te path metric-type
command in MPLS view to specify the link metric
type used for routing tunnels not configured with link metric type.
Use the
mpls te path metric-type
command in tunnel interface view to specify the link
metric type used for routing current tunnel.
Use the
undo mpls te path metric-type
command to restore the default. This
undo
form is only available in tunnel interface view.
By default, TE metrics of links are used in path calculation for TE tunnels.
Related commands:
mpls te metric
.
Examples
In MPLS view:
# Use the IGP metrics of links in path calculation for TE tunnels not configured with link
metric type.
<Sysname> system-view
[Sysname] mpls
[Sysname-mpls] mpls te path metric-type igp
In tunnel interface view:
# Use the IGP metrics of links for routing tunnel 3/0/1.
<Sysname> system-view