beautypg.com

H3C Technologies H3C S10500 Series Switches User Manual

Page 131

background image

120

To do…

Use the command…

Remarks

Enter the tunnel interface view of
an MPLS TE tunnel

interface tunnel tunnel-number

Configure BFD to check the
connectivity of the MPLS TE tunnel

mpls te bfd enable [ discriminator
local local-id remote remote-id ]

Required
By default, BFD is not configured to
check connectivity of 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

For more information about the mpls lspv command, see MPLS Command Reference.
You cannot establish both a static BFD session and a dynamic BFD session for the same MPLS TE tunnel.
After establishing a static BFD session for an MPLS TE tunnel, you cannot modify the discriminator values

of the BFD session.
If you enable both FRR and BFD for an MPLS TE tunnel, to ensure that the BFD session will not be down
during an FRR switching, you need to give the BFD detection interval a greater value than the FRR

detection interval.
In a BFD session for detecting an MPLS TE tunnel’s connectivity, the ingress node always works in active

mode and the egress node always works in passive mode. The bfd session init-mode command does not

take effect on the ingress and egress nodes of such a BFD session. Even if you configure the two nodes

to both work in passive mode, the BFD session will still be established successfully.

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. To know whether an MPLS TE tunnel has failed, check 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 specified period of time, MPLS TE will

remove the failed RSVP-TE tunnel and then re-establish it.
Follow these steps 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