Configure LPD route injection to allow the Extreme device to inject routes into LDP by referencing a prefix list and advertise the FEC to the LDP peers. By default, LDP advertises all /32 prefixes that are learned from the loopback interfaces to all other LDP peers.
device# configure terminal
device(config)# ip prefix-list list1 permit 10.2.2.2/32
device(config)# router mpls
device(config-router-mpls)# ldp
device(config-router-mpls-ldp)# advertise-fec list1
device(config-router-mpls-ldp)# Ctrl-z
device# show running-config router mpls ldp router mpls ldp .... advertise-fec list1 ! !
device# show mpls ldp database Session 10.3.3.3:0 - 10.5.5.2:0 Downstream label database: Label Prefix State Upstream label database: Label Prefix 3 10.2.2.2/32
The following configuration is an example of the previous steps.
device(config)# ip prefix-list list1 permit 10.2.2.2/32 device(config)# router mpls device(config-router-mpls)# ldp device(config-router-mpls-ldp)# advertise-fec list1