Configuring Ldp Loop Detection - HP FlexNetwork 10500 Series Configuration Manual

Hide thumbs Also See for FlexNetwork 10500 Series:
Table of Contents

Advertisement

Figure 17 Label acceptance control diagram
Drop the label
mappings
LSR A
Accept the
label mappings
A label advertisement policy on an LSR and a label acceptance policy on its upstream LSR can
achieve the same purpose. As a best practice, use the label advertisement policy to reduce network
load.
You must create an IP prefix list before you configure a label acceptance policy. For information
about IP prefix list configuration, see Layer 3—IP Routing Configuration Guide.
To configure a label acceptance policy:
Step
1.
Enter system view.
2.
Enter LDP view or enter
LDP-VPN instance
view.
3.
Configure an IPv4 label
acceptance policy.
4.
Configure an IPv6 label
acceptance policy.

Configuring LDP loop detection

LDP detects and terminates LSP loops in the following ways:
Maximum hop count—LDP adds a hop count in a label request or label mapping message.
The hop count value increments by 1 on each LSR. When the maximum hop count is reached,
LDP considers that a loop has occurred and terminates the establishment of the LSP.
Path vector—LDP adds LSR ID information in a label request or label mapping message. Each
LSR checks whether its LSR ID is contained in the message. If it is not, the LSR adds its own
LSR ID into the message. If it is, the LSR considers that a loop has occurred and terminates
LSP establishment. In addition, when the number of LSR IDs in the message reaches the path
vector limit, LDP also considers that a loop has occurred and terminates LSP establishment.
To configure LDP loop detection:
Label mappings not permitted
by the IP prefix list
Label mappings permitted
by the IP prefix list
LSR C
Command
system-view
Enter LDP view:
mpls ldp
Enter LDP-VPN instance view:
a. mpls ldp
b. vpn-instance
vpn-instance-name
accept-label peer peer-lsr-id prefix-list
prefix-list-name
ipv6 accept-label peer peer-lsr-id
prefix-list prefix-list-name
34
LSR B
Remarks
N/A
N/A
By default, LDP accepts all IPv4
FEC-label mappings.
By default, LDP accepts all IPv6
FEC-label mappings.

Advertisement

Table of Contents
loading

Table of Contents