
183
Parameters
igp
: Uses IGP metric for tunnel path calculation.
te
: Uses TE metric for tunnel path calculation.
Examples
In MPLS view:
# Configure TE tunnels that were not explicitly specified with a metric type to use IGP metric for path
calculation.
<Sysname> system-view
[Sysname] mpls
[Sysname-mpls] mpls te path metric-type igp
In tunnel interface view:
# Configure tunnel 0 to use IGP metric for path calculation.
<Sysname> system-view
[Sysname] interface tunnel 0
[Sysname-Tunnel0] mpls te path metric-type igp
mpls te periodic-tracert
Description
Use the
mpls te periodic-tracert
command to enable periodic LSP tracert for the MPLS TE tunnels on a
tunnel interface.
Use the
undo mpls te periodic-tracert
command to disable periodic LSP tracert for MPLS TE tunnels on a
tunnel interface.
By default, periodic LSP tracert is disabled for MPLS TE tunnels.
The periodic LSP tracert function for an MPLS TE tunnel is for locating faults of the MPLS TE tunnel
periodically. It detects the consistency of the forwarding and control plane and records detection results
into logs. You can know whether an MPLS TE tunnel has failed by checking the logs.
This is what happens if you configure BFD as well as periodical tracert for an MPLS TE tunnel. Once the
tracert function detects a data plane failure or an inconsistency between the data plane and control
plane, the existing BFD session is deleted, and a new BFD session is then re-established based on the
control plane.
Enable LSP verification by using the
mpls lspv
command before executing the
mpls te periodic-tracert
command.
Syntax
mpls te periodic-tracert
[
-a
source-ip
|
-exp
exp-value
|
-h
ttl-value |
-m
wait-time
|
-t
time-out
|
-u
retry-
attempt
]
*
undo mpls te periodic-tracert
View
Tunnel interface view
Default level
2: System level