This blog was originally started to better help me understand the technologies in the CCIE R&S blueprint; after completing the R&S track I have decided to transition the blog into a technology blog.

CCIE #29033

This blog will continue to include questions, troubleshooting scenarios, and references to existing and new technologies but will grow to include a variety of different platforms and technologies. Currently I have created over 185 questions/answers in regards to the CCIE R&S track!! Note: answers are in the comment field or within "Read More" section.

You can also follow me on twitter @FE80CC1E


Monday, May 10, 2010

Question 80

What does "mpls ldp autoconfig" and "mpls ldp autoconfig area #" accomplish?

2 comments:

Chris Costa said...

mpls ldp autoconfig

The following command globally configures the LDP (Label Dirtibution Protocol) on interfaces associated with an IGP routing protocol like OSPF or IS-IS. Manually configuring LDP can be time consuming and error prone which is why Cisco has introduce a auto-configuration option.

mpls ldp autoconfig area #

The following command auto-configures LDP for a given OSPF area. If no area number is specified the command will auto-configure LDP for all OSPF areas on the switch.

Packets Analyzed said...

Additional Notes: You must ensure "mpls ip" is enabled in global config.

Example
To enable with OSPF do the following:
Note: OPSF must be enabled for that interface

Global Config
"mpls ip" (enables MPLS IP)
"mpls label protocol ldp" (specifies the default labeling protocol)

Router OSPF
"mpls ldp autoconfig area (num)" - this ensures it is enabled for interfaces in an area
"network (IP_ADD_Interface) 0.0.0.0 area (num)"

To disable ldp autoconfig on a per interface
"no mpls ldp igp autoconfig"

Show commands
"show mpls interfaces"
"show mpls interfaces detail"
"show mpls discovery"
"show mpls discovery detail"

Post a Comment