77
NOTE:
For more information about the
mpls lspv
command, see
MPLS Command Reference.
Configuring periodic LSP tracert
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.
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 will be deleted and a new BFD session will be 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 re-establish the RSVP-TE tunnel within a specific period of time, MPLS TE will remove
the failed RSVP-TE tunnel and then re-establish it.
To configure periodic LSP tracert for an MPLS TE tunnel:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enable LSP verification and enter
MPLS LSPV view
mpls lspv
Required
By default, LSP verification is
disabled.
Return to system view
quit
—
Enter the tunnel interface view of
an MPLS TE tunnel
interface tunnel
tunnel-number
—
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
]
*
Required
By default, periodic LSP tracert is
disabled for MPLS TE tunnels.
Configure MPLS TE to tear down a
failed RSVP TE tunnel and
reestablish it
mpls te failure-action teardown
Optional
Not configured by default
NOTE:
For more information about the
mpls lspv
command, see
MPLS Command Reference.
Configuring protection switching
Configuration prerequisites
Before you configure protection switching, complete following tasks:
•
Configure basic MPLS
•
Enable MPLS TE and create an MPLS TE tunnel