Basic LDP
Last updated
Last updated
In this lab you will configure basic LDP features. IP addresses are already pre-configured.
For this lab, do not make any changes to XR2 or R2.
On R1:
Confgure OSPF using process 1 and area 0
Gi1 should be p2p
Advertise all loopbacks into OSPF
Use md5 authentication with password cisco123 and key 1
Configure LDP
Establish an LDP neighborship with XR2
Use LDP authentication with password cisco456
Make XR2’s LFIB look like this:
Preform the same exercise on XR1. R2’s LFIB should look like this:
Using OSPF and LDP authentication is fairly well documented, so if you have trouble with this I would recommend looking up documentation on these features. You will learn more by finding the answers yourself than if I simply list the configuration here.
In order to make XR2’s LFIB entry for 1.1.1.20/32 unlabeled, you must filter advertisement of this label binding from R1, using LDP conditional label advertisement. Ensure that you are disabling the default advertisement of all label allocations.
Likewise on XR1 you must configure LDP conditional label advertisement. Ensure on XR1 that you are disabling the default advertisement of all label allocations using label local advertise disable as well.