MPLS Lab Tips

  • Router ID for BGP, LDP and OSPF should ALL match and be routable form the P routers..
  • As a best practice and to be on the safe side, always set your loopbacks for MPLS to /32 (especially in ospf using ip ospf network type point-to-point).
  • If using TDP be sure to include mpls label protocol tdp under the interface as well.
  • Can use mpls ldp discovery transport-address interface/ip to specify the source peering address which by default will be the highest loopback address.
  • mpls ldp router-id loopback 0 force is important otherwise higher loopback will reset the session.
  • RD keeps the routing table unique (overlapping subnets etc).
  • Route-Target assigns an import and export tag through use of dynamic routing e.g. BGP using extended community. You then use redistribute-connected under the address-family ipv4 unicast  VRF BGP process to bring those routes into that VRF domain. Don’t forget to activate the neighbour with neighbour x.x.x.x activate and add send-community both under the VPNV4 process / address-family vpnv4 unicast process.
  • Troubleshooting pings – Check mpls is enabled on all interface and the LDP/TDP relationship is formed on each interface and that show mpls fowarding-table shows a label or pop for the next hop.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: