This post contains my notes from an old version of IPX Class on Demand by Joe Astorino.
# hiding MPLS topology by just incrementing TTL 1 time when reaching the CE router(config)# no ip mpls propagate-ttl
MPLS MTU is automatically decreased on LAN interfaces and increased on WAN interfaces.
Default mpls mtu is 1512 which supports 3 labels; MPLS MTU can be set by mpls mtu x
LDP router-id should be routable on network.
router(config)# mpls ldp advertise-labels [for acl] [to peer] router(config)# mpls ldp range x y ! # Enabling MPLS on all OSPF interfaces or an area router(config-router)# mpls ldp autoconfig [area x] ! router(config)# mpls ldp discovery holdtime x router(config)# mpls ldp graceful-restart // NSF within LDP router(config)# mpls ldp loop-detection router(config)# mpls ldp max hops x router(config)# tag-switching tdp router-id loopback0 // If TDP is used. # Using separate update-source for an interface router(config-if)# mpls ldp discovery transport-address interface
Connected routes are advertised as implicit-null label for PHP on upstream router
router(config)# mpls ldp neighbor ip labels accept acl router(config)# mpls ldp tcp pak-priority //Kinda like setting QoS for LDP ! #Like "ip accounting" router(config-if)# mpls accounting experimental input/output router(config-if)# mpls netflow egress ! router# show mpls ldp binding // LIB router# show mpls forwarding table // LFIB router# show ip route // RIB router# show ip cef ip detail //FIB
To clear LIB:
router(config)# no mpls ip router(config)# mpls ip
PHP is the default.