
78
Step Command
Remarks
5.
Configure BFD to check the
connectivity of the MPLS TE
tunnel.
mpls te bfd
enable
[
discriminator local
local-id
remote
remote-id
]
By default, BFD is not configured
to check connectivity of MPLS TE
tunnels.
6.
Configure MPLS TE to tear
down a failed RSVP TE
tunnel and reestablish it.
mpls te failure-action teardown
Optional.
Not configured by default.
Configuring periodic LSP tracert for an MPLS TE
tunnel
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 check the logs to see whether an MPLS TE tunnel has failed.
If you configure BFD as well as periodical tracert for an MPLS TE tunnel, once the periodical LSP
tracert function detects a fault or inconsistency of the forwarding plane and control plane of the
MPLS TE tunnel, the BFD session for the tunnel is deleted and a new BFD session is established
according to the control plane.
After you configure periodic LSP tracert and the
mpls te failure-action teardown
command for an
MPLS TE tunnel, once an RSVP-TE tunnel failure occurs, the periodic LSP tracert function can
detect the failure, and if RSVP does not reestablish the RSVP-TE tunnel within a specific period of
time, MPLS TE removes the failed RSVP-TE tunnel and then reestablishes it.
To configure periodic LSP tracert for an MPLS TE tunnel:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enable LSP verification and
enter MPLS LSPV view.
mpls lspv
By default, LSP verification is
disabled.
For more information about this
command, see
MPLS Command
Reference
.
3.
Return to system view.
quit
N/A
4.
Enter the tunnel interface
view of an MPLS TE tunnel.
interface tunnel
tunnel-number
N/A
5.
Enable periodic LSP tracert
for the MPLS TE tunnel.
mpls te periodic-tracert
[
-a
source-ip
|
-exp
exp-value
|
-h
ttl-value
|-
m
wait-time
|
-t
time-out
|-
u
retry-attempt
]*
By default, periodic LSP tracert is
disabled for MPLS TE tunnels.
6.
Configure MPLS TE to tear
down a failed RSVP TE
tunnel and reestablish it.
mpls te failure-action teardown
Optional.
Not configured by default.
Enabling MPLS TE statistics
To use
display
commands to view RSVP-TE tunnel statistics, you must first enable MPLS TE
statistics by using this configuration task and set the statistics reading interval by using the
statistics
interval
command in MPLS view. For more information about the
statistics interval
command, see
MPLS Command Reference
.