R21xx-HP FlexFabric 11900 MPLS Command Reference

Table Of Contents
66
Usage guidelines
LDP adds a hop count in a label request or label mapping message. The hop count increments by 1 on
each LSR. When the hop count reaches the maximum hop count configured by this command, LDP
considers that a loop occurs and terminates LSP establishment.
Set a proper maximum hop count according to the number of LSRs in your network. For example, set a
smaller maximum hop count in small networks to allow for fast loop detection; set a bigger maximum hop
count in large networks to make sure that LSPs can be successfully established.
Examples
# Set the maximum hop count to 25 for loop detection in the public network.
<Sysname> system-view
[Sysname] mpls ldp
[Sysname-ldp] maxhops 25
Related commands
display mpls ldp parameter
loop-detect
pv-limit
md5-authentication
Use md5-authentication to enable LDP MD5 authentication.
Use undo md5- authentication to restore the default.
Syntax
md5-authentication peer-lsr-id { cipher | plain } password
undo md5-authentication peer-lsr-id
Default
LDP MD5 authentication is disabled.
Views
LDP view, LDP-VPN instance view
Predefined user roles
network-admin
Parameters
peer-lsr-id: Specifies the LSR ID of a peer.
cipher: Sets a ciphertext key.
plain: Sets a plaintext key.
password: Specifies a case-sensitive key string. If plain is specified, it must be a plaintext string of 1 to 16
characters. If cipher is specified, it must be a ciphertext string of 1 to 53 characters.
For security purposes, all keys, including keys configured in plain text, are saved in cipher text.
Usage guidelines
To improve security for LDP sessions, you can configure MD5 authentication for the underlying TCP
connections to check the integrity of LDP messages.