Configuring Ldp Session Protection - HP HPE FlexNetwork MSR Router Series Configuration Manual

Table of Contents

Advertisement

Step
1.
Enter system view.
2.
Enter LDP view or enter
LDP-VPN instance view.
3.
Enable loop detection.
4.
Set the maximum hop
count.
5.
Set the path vector limit.
NOTE:
The LDP loop detection feature is applicable only in networks comprised of devices that do not
support TTL mechanism, such as ATM switches. Do not use LDP loop detection on other networks
because it only results in extra LDP overhead.

Configuring LDP session protection

If two LDP peers have both a direct link and an indirect link in between, you can configure this feature
to protect their LDP session when the direct link fails.
LDP establishes both a Link Hello adjacency over the direct link and a Targeted Hello adjacency over
the indirect link with the peer. When the direct link fails, LDP deletes the Link Hello adjacency but still
maintains the Targeted Hello adjacency. In this way, the LDP session between the two peers is kept
available, and the FEC-label mappings based on this session are not deleted. When the direct link
recovers, the LDP peers do not need to re-establish the LDP session or re-learn the FEC-label
mappings.
When you enable the session protection function, you can also specify the session protection
duration. If the Link Hello adjacency does not recover within the duration, LDP deletes the Targeted
Hello adjacency and the LDP session. If you do not specify the session protection duration, the two
peers will always maintain the LDP session over the Targeted Hello adjacency.
LDP session protection is applicable only to IPv4 networks.
To configure LDP session protection:
Step
1.
Enter system view.
2.
Enter LDP view.
3.
Enable the session
protection function.
Command
system-view
Enter LDP view:
mpls ldp
Enter LDP-VPN instance view:
a. mpls ldp
b. vpn-instance
vpn-instance-name
loop-detect
maxhops hop-number
pv-limit pv-number
Command
system-view
mpls ldp
session protection [ duration
time ] [ peer peer-prefix-list-name ]
34
Remarks
N/A
N/A
By default, loop detection is
disabled.
After loop detection is
enabled, the device uses both
the maximum hop count and
the path vector methods to
detect loops.
By default, the maximum hop
count is 32.
By default, the path vector
limit is 32.
Remarks
N/A
N/A
By default, session protection is
disabled.

Advertisement

Table of Contents
loading

Table of Contents