MPLS ldp router-id - Best to set it as the IP must be reachable as it is used in the transport addresss in the LDP discovery hello messages.
#mpls label protocol ldp
#mpls label router-id loopback0 <force>
#mpls label range 100 200
Once you enable #mpls ip on an interface, the LSR will attempt to discover neighbors using hello messages that are sourced from UDP 646 224.0.0.2 every 5 seconds (Hold time 15 sec)
2.2.2.2:0 The zero is a 2 Byte value and indicates that its platform wide and anything other than zero indicates that its per-interface.
#show mpls ldp neighbor
There are (2) types of neighbor discovery: i. Basic ii. Extended
Basic- Sends a discover message out every interface in which mpls ip is enabled.
Extended- Sends discover messages to non-directly connected LDP neighbors.
#show mpls ldp discovery all
#show mpls ldp discovery detail
#show mpls ldp parameters
#mpls ldp discovery hello holdtime 45
#mpls ldp discovery hello interval 15
#mpls ldp holdtime 90 <This will change the keep-alive time auto-magically>
This shows the routers <LIB>
#show mpls ldp binding <6.6.6.6>
This shows the <LFIB>
#show mpls forwarding-table <6.6.6.6>
This shows the <FIB>
#show ip cef 6.6.6.6
To configure a router as a PHP:
#mpls ldp explicit-null
#intf fa0/0 - mpls ip
To stop advertising labels all together:
#no mpls ldp advertise-labels
No comments:
Post a Comment