OcNOS-RON-6.3.1 : Multi-Protocol Label Switching Guide : Multi-Protocol Label Switching Configuration Guide : LDP Configuration : LDP MD5 Authentication
LDP MD5 Authentication
LDP MD5 configuration enables LDP MD5 password authentication on a per-peer basis.
Direct LDP Session
In this example, MD5 authentication is configured for a direct LDP session.
Figure 6-2: Topology for Direct Session MD5
R1
 
#configure terminal
Enter configure mode.
(config)#router ldp
Enter Router mode.
(config-router)#neighbor 10.10.10.2 auth md5 password 0 pwd1
Configure the MD5 authentication and password, pwd1, for the neighbor, 10.10.10.2.
(config-router)#exit
Exit the Router mode and return to the Configure mode.
(config)#interface eth1
Specify the interface (eth1) to be configured.
(config-if)#label-switching
Enable label switching on interface eth1.
(config-if)#enable-ldp ipv4
Enable LDP on interface eth1.
(config-if)#exit
Exit interface mode.
R2
 
#configure terminal
Enter configure mode.
(config)#router ldp
Enter Router mode.
(config-router)#neighbor 10.10.10.1 auth md5 password 0 pwd1
Configure the MD5 authentication and password, pwd1, for the neighbor, 10.10.10.1.
(config-router)#exit
Exit the Router mode and return to the Configure mode.
(config)#interface eth1
Specify the interface (eth1) to be configured.
(config-if)#label-switching
Enable label switching on interface eth1.
(config-if)#enable-ldp ipv4
Enable LDP on interface eth1.
(config-if)#exit
Exit interface mode.
Last modified date: 07-13-2023