set protocols mpls ldp neighbor password
The set protocols mpls ldp neighbor password command enables message digest5 (MD5) authentication on a TCP connection between two MPLS LDP neighbors.
The delete protocols mpls ldp neighbor password command disables this feature.
Command Syntax
set protocols mpls ldp neighbor <ip> password <text-password>
delete protocols mpls ldp neighbor <ip> password
Parameter
Parameter | Description |
neighbor <ip> | Specifies the IPv4/IPv6 address of a peer. |
password <text-password> | Specifies the txt password. The value is a string, spaces and question mark are not allowed, case-sensitive, and can be 3 to 48 characters long. |
Usage Guidelines
By setting a password, you enforce authentication for the LDP session between the local router and its neighbor. This adds a layer of security, ensuring that only authorized routers can establish an LDP session and exchange label information.
It helps to prevent unauthorized devices from establishing LDP sessions with your routers, which could potentially lead to routing issues or security vulnerabilities.
NOTE:
Ensure that the same password is configured on both sides of the LDP session. Mismatched passwords will prevent the LDP session from being established.
Example
• This example enables message digest5 (MD5) authentication on a TCP connection between two MPLS LDP neighbors.
admin@XorPlus# set protocols mpls ldp neighbor 2.2.2.2 password picos12345 admin@XorPlus# commit
Copyright © 2024 Pica8 Inc. All Rights Reserved.