03 May 2011 - Lab-Rat
r1(config-if)# mpls ip
r1(config)# mpls ldp router-id interface force
r1(config-if)#mpls ldp discovery transport-address interface
r1(config)# mpls label range 2000 2999
r1(config)# mpls label protocol tdp
r1(config-router)# mpls ldp autoconfig
r1(config)# mpls ldp neighbor x.x.x.x password somepass !x.x.x.x is the RID. To make it mandatory:
r1(config)# mpls ldp password required
r1# show mpls interface - shows interfaces with mpls enabled
r1#show mpls ldp neighbor - shows neighbors, and bound address
r1#show mpls discovery - shows if interfaces are sending discovery hello messages, and ldp router-id
r1#show mpls forwarding-table - shows the label forwarding information base