Removing MD5 Authentication for LDP Session
This example shows removing the MD5 authentication configuration from an LDP session.
Figure 11-24: LDP Session Topology
PE1
#configure terminal | Enter configure mode. |
(config)#router ldp | Enter Router mode. |
(config-router)#no neighbor 10.10.10.2 auth md5 password | Remove MD5 authentication for the neighbor, 10.10.10.2. |
(config-router)#commit | Commit the transaction. |
PE2
#configure terminal | Enter configure mode. |
(config)#router ldp | Enter Router mode. |
(config-router)#no neighbor 10.10.10.1 auth md5 password | Remove MD5 authentication for the neighbor, 10.10.10.1. |
(config-router)#commit | Commit the transaction. |
(config)#interface lo | Specify the loopback (lo) interface to be config |
(config-if)#ip address 2.2.2.2/32 secondary | Set the IP address of the loopback interface to 2.2.2.2/32 |
(config-if)#exit | Exit lo interface |
(config-if)#interface xe1 | Specify the interface (xe1) to be configured. |
(config-if)#ip address 10.10.10.2/24 | Set the IP address of the interface to 10.10.10.2/24 |
(config-if)#label-switching | Enable label switching on interface xe1. |
(config-if)#enable-ldp ipv4 | Enable LDP on interface xe1. |
(config-if)#commit | Commit the transaction. |
Validation for LDP Session Count
This example shows the number of configured LDP basic neighbors and targeted neighbors count.
#show ldp session count
--------------------------------------------
Basic sessions : 100 [UP: 100]
Targeted sessions : 500 [UP: 500]
Total Sessions : 600 [UP: 600]
--------------------------------------------
#show ldp targeted-peer count
-------------------------------------------------
Num Targeted Peers: 500 [UP: 500]
-------------------------------------------------
Validation for FTN, SWAP, and POP Entries
This example shows forwarding table entries, SWAP entries and POP entries for IPV4 and IPV6 prefixes.
#show mpls forwarding-table count
---------------------------------------------
Num FTNs : 300000 [UP: 3, INSTALLED: 300000]
Primary FTNs : 300000 [UP: 3, INSTALLED: 300000]
Secondary FTNs : 0 [UP: 0, INSTALLED: 0]
---------------------------------------------
---------------------------------------------
Num IPV6 FTNs : 300000 [UP: 300000, INSTALLED: 300000]
Primary IPV6 FTNs : 300000 [UP: 300000, INSTALLED: 300000]
Secondary IPV6 FTNs : 0 [UP: 0, INSTALLED: 0]
---------------------------------------------
#show mpls ilm-table count
------------------------------------------------
Num ILMs : 300000 [UP: 0, INSTALL: 300000]
Swap Entries : 300000 [UP: 0, INSTALL: 300000]
Pop Entries : 0 [UP: 0, INSTALL: 0]
VC Pop Entries : 0 [UP: 0]
------------------------------------------------
Last modified date: 10/17/2023