Table Of Contents
Restrictions for MPLS LDP Autoconfiguration
Information About MPLS LDP Autoconfiguration
MPLS LDP Autoconfiguration on OSPF and IS-IS Interfaces
How to Configure MPLS LDP Autoconfiguration
Configuring MPLS LDP Autoconfiguration with OSPF Interfaces
Disabling MPLS LDP Autoconfiguration from Selected OSPF Interfaces
Verifying MPLS LDP Autoconfiguration with OSPF
Configuring MPLS LDP Autoconfiguration with IS-IS Interfaces
Disabling MPLS LDP Autoconfiguration from Selected IS-IS Interfaces
Verifying MPLS LDP Autoconfiguration with IS-IS
Configuration Examples for MPLS LDP Autoconfiguration
MPLS LDP Autoconfiguration with OSPF: Example
MPLS LDP Autoconfiguration with IS-IS: Examples
Feature Information for MPLS LDP Autoconfiguration
MPLS LDP Autoconfiguration
First Published: November 8, 2004Last Updated: November 25, 2009The MPLS LDP Autoconfiguration feature enables you to globally configure Label Distribution Protocol (LDP) on every interface associated with a specified Interior Gateway Protocol (IGP) instance.
Finding Feature Information
Your software release may not support all the features documented in this module. For the latest feature information and caveats, see the release notes for your platform and software release. To find information about the features documented in this module, and to see a list of the releases in which each feature is supported, see the "Feature Information for MPLS LDP Autoconfiguration" section.
Use Cisco Feature Navigator to find information about platform support and Cisco IOS and Catalyst OS software image support. To access Cisco Feature Navigator, go to http://www.cisco.com/go/cfn. An account on Cisco.com is not required.
Contents
•
Restrictions for MPLS LDP Autoconfiguration
•
Information About MPLS LDP Autoconfiguration
•
How to Configure MPLS LDP Autoconfiguration
•
Configuration Examples for MPLS LDP Autoconfiguration
•
Feature Information for MPLS LDP Autoconfiguration
Restrictions for MPLS LDP Autoconfiguration
The MPLS LDP Autoconfiguration feature has the following restrictions:
•
In Cisco IOS Release 12.0(32)SY, the mpls ldp autoconfig command is supported only with the IS-IS interface. Other IGPs are not supported.
•
If LDP is disabled globally, the mpls ldp autoconfig command fails and generates a console message explaining that LDP must first be enabled globally by means of the global mpls ip command.
•
If the mpls ldp autoconfig command is configured for an IGP instance, you cannot issue the global no mpls ip command. To disable LDP, you must first issue the no mpls ldp autoconfig command.
•
For interfaces running IS-IS processes, you can enable Multiprotocol Label Switching (MPLS) for each interface, using the router mode command mpls ldp autoconfig or mpls ldp igp autoconfig at the interface level.
•
You specify that the default label distribution protocol is LDP for a router or for an interface. Tag Distribution Protocol (TDP) is not supported.
•
The MPLS LDP Autoconfiguration feature is not supported on traffic engineering tunnel interfaces.
Information About MPLS LDP Autoconfiguration
To enable LDP, you should configure it globally and on each interface where it is needed. Configuring LDP on many interfaces can be time-consuming. The following section provides information about autoconfiguration feature on OSPF and IS-IS interfaces:
•
MPLS LDP Autoconfiguration on OSPF and IS-IS Interfaces
MPLS LDP Autoconfiguration on OSPF and IS-IS Interfaces
The MPLS LDP Autoconfiguration feature enables you to globally enable LDP on every interface associated with an IGP instance. This feature is supported on OSPF and IS-IS IGPs. It provides a means to block LDP from being enabled on interfaces that you do not want enabled. The goal of the MPLS LDP Autoconfiguration feature is to make configuration easier, faster, and error free.
You issue the mpls ldp autoconfig command to enable LDP on each interface that is running an OSPF or IS-IS process. If you do not want some of the interfaces to have LDP enabled, you can issue the no form of the mpls ldp igp autoconfig command on those interfaces.
How to Configure MPLS LDP Autoconfiguration
This section contains the following procedures:
•
Configuring MPLS LDP Autoconfiguration with OSPF Interfaces (required)
•
Disabling MPLS LDP Autoconfiguration from Selected OSPF Interfaces (optional)
•
Verifying MPLS LDP Autoconfiguration with OSPF (optional)
•
Configuring MPLS LDP Autoconfiguration with IS-IS Interfaces (required)
•
Disabling MPLS LDP Autoconfiguration from Selected IS-IS Interfaces (optional)
•
Verifying MPLS LDP Autoconfiguration with IS-IS (optional)
Configuring MPLS LDP Autoconfiguration with OSPF Interfaces
The following steps explain how to configure LDP for interfaces running OSPF processes.
SUMMARY STEPS
1.
enable
2.
configure terminal
3.
mpls ip
4.
mpls label protocol ldp
5.
interface type number
6.
ip address prefix mask
7.
exit
8.
router ospf process-id
9.
network ip-address wildcard-mask area area-id
10.
mpls ldp autoconfig [area area-id]
11.
end
DETAILED STEPS
Disabling MPLS LDP Autoconfiguration from Selected OSPF Interfaces
When you issue the mpls ldp autoconfig command, all the interfaces that belong to an OSPF area are enabled for LDP. To remove LDP from some interfaces, use the no mpls ldp igp autoconfig command on those interfaces. The following configuration steps show how to disable LDP from some of the interfaces after they were configured with the MPLS LDP Autoconfiguration feature with the mpls ldp autoconfig command.
SUMMARY STEPS
1.
enable
2.
configure terminal
3.
interface type number
4.
no mpls ldp igp autoconfig
5.
end
DETAILED STEPS
Verifying MPLS LDP Autoconfiguration with OSPF
The following steps explain how to verify the MPLS LDP Autoconfiguration feature.
SUMMARY STEPS
1.
enable
2.
show mpls interfaces [type number | vrf vpn-name] [all] [detail] [internal]
3.
show mpls ldp discovery [vrf vpn-name | all] [detail]
DETAILED STEPS
Step 1
enable
Enables privileged EXEC mode. Enter your password if prompted.
Step 2
show mpls interfaces [type number | vrf vpn-name] [all] [detail] [internal]
The show mpls interfaces command displays the method used to enable LDP on an interface:
•
If LDP is enabled by the mpls ldp autoconfig command, the output displays:
IP labeling enabled (ldp):IGP config•
If LDP is enabled by the mpls ip command, the output displays:
IP labeling enabled (ldp):Interface config•
If LDP is enabled by the mpls ip command and the mpls ldp autoconfig command, the output displays:
IP labeling enabled (ldp):Interface configIGP configThe following example shows that LDP was enabled on the interface by both the mpls ip and mpls ldp autoconfig commands:Router# show mpls interfaces Serial 2/0 detailInterface Serial2/0:IP labeling enabled (ldp):Interface configIGP configLSP Tunnel labeling enabledBGP labeling not enabledMPLS operationalFast Switching Vectors:IP to MPLS Fast Switching VectorMPLS Turbo VectorMTU = 1500Step 3
show mpls ldp discovery [vrf vpn-name | all] [detail]
The show mpls ldp discovery detail command also shows how LDP was enabled on the interface. In the following example, LDP was enabled by both the mpls ip and mpls ldp autoconfig commands:
Router# show mpls ldp discovery detailLocal LDP Identifier:10.11.11.11:0Discovery Sources:Interfaces:Serial2/0 (ldp): xmit/recvEnabled: Interface config, IGP config;Hello interval: 5000 ms; Transport IP addr: 10.11.11.11LDP Id: 10.10.10.10:0Src IP addr: 10.0.0.1; Transport IP addr: 10.10.10.10Hold time: 15 sec; Proposed local/peer: 15/15 sec
Configuring MPLS LDP Autoconfiguration with IS-IS Interfaces
The following steps explain how to configure the MPLS LDP Autoconfiguration feature for interfaces that are running IS-IS processes.
SUMMARY STEPS
1.
enable
2.
configure terminal
3.
interface type number
4.
ip address prefix mask
5.
ip router isis
6.
exit
7.
mpls ip
8.
mpls label protocol ldp
9.
router isis
10.
mpls ldp autoconfig [level-1 | level-2]
11.
end
DETAILED STEPS
Disabling MPLS LDP Autoconfiguration from Selected IS-IS Interfaces
When you issue the mpls ldp autoconfig command, all the interfaces that belong to an IS-IS process are enabled for LDP. To remove LDP from some interfaces, use the no mpls ldp igp autoconfig command on those interfaces. The following configuration steps show how to disable LDP from some of the interfaces after they were configured with the MPLS LDP Autoconfiguration feature with the mpls ldp autoconfig command.
SUMMARY STEPS
1.
enable
2.
configure terminal
3.
interface type number
4.
no mpls ldp igp autoconfig
5.
end
DETAILED STEPS
Verifying MPLS LDP Autoconfiguration with IS-IS
You can verify that the MPLS LDP Autoconfiguration feature is working correctly with the show isis mpls ldp command.
SUMMARY STEPS
1.
enable
2.
show isis mpls ldp
DETAILED STEPS
Step 1
enable
Enables privileged EXEC mode.
Step 2
show isis mpls ldp
The output of the following show isis mpls ldp command shows that IS-IS is configured on the interface and that LDP is enabled:
Router# show isis mpls ldpInterface: POS0/2; ISIS tag null enabledISIS is UP on interfaceAUTOCONFIG Information :LDP enabled: YESSYNC Information :Required: NOThe output shows :
•
IS-IS is up.
•
LDP is enabled.
If the MPLS LDP Autoconfiguration feature is not enabled on an interface, the output looks like the following:
Interface: Ethernet0; ISIS tag null enabledISIS is UP on interfaceAUTOCONFIG Information :LDP enabled: NOSYNC Information :Required: NO
Troubleshooting Tips
You can use the debug mpls ldp autoconfig command to display events that are related to the MPLS LDP Autoconfiguration feature.
Configuration Examples for MPLS LDP Autoconfiguration
The following sections show examples for the MPLS LDP Autoconfiguration feature with OSPF and IS-IS processes.
•
MPLS LDP Autoconfiguration with OSPF: Example
•
MPLS LDP Autoconfiguration with IS-IS: Examples
MPLS LDP Autoconfiguration with OSPF: Example
The following configuration commands enable LDP for OSPF process 1 area 3. The mpls ldp autoconfig area 3 command and the OSPF network commands enable LDP on POS interfaces 0/0, 0/1, and 1/1. The no mpls ldp igp autoconfig command on POS interface 1/0 prevents LDP from being enabled on POS interface 1/0, even though OSPF is enabled for that interface.
configure terminalinterface POS 0/0ip address 10.0.0.1 255.0.0.0!interface POS 0/1ip address 10.0.1.1 255.0.0.1!interface POS 1/1ip address 10.1.1.1 255.255.0.0!interface POS 1/0ip address 10.1.0.1 0.1.0.255exit!router ospf 1network 10.0.0.0 0.0.255.255 area 3network 10.1.0.0 0.0.255.255 area 3mpls ldp autoconfig area 3endinterface POS 1/0no mpls ldp igp autoconfigMPLS LDP Autoconfiguration with IS-IS: Examples
The following example shows the configuration of the MPLS LDP Autoconfiguration feature on POS0/2 and 0/3 interfaces, which are running IS-IS processes:
configure terminalinterface POS 0/2ip address 10.0.0.1 255.0.0.1ip router isis!interface POS 0/3ip address 10.1.1.1 255.0.1.0ip router isisexitmpls ip
mpls label protocol ldp
router isis
mpls ldp autoconfig
Additional References
The following sections provide references related to the MPLS LDP Autoconfiguration feature.
Related Documents
Related Topic Document TitleMPLS commands
MPLS LDP
The MPLS LDP-IGP Synchronization feature
The MPLS LDP Session Protection feature
Configuring integrated IS-IS
Standards
Standard TitleNo new or modified standards are supported by this feature, and support for existing standards has not been modified by this feature
—
MIBs
MIB MIBs LinkMPLS LDP MIB
To locate and download MIBs for selected platforms, Cisco IOS releases, and feature sets, use Cisco MIB Locator found at the following URL:
RFCs
Technical Assistance
Feature Information for MPLS LDP Autoconfiguration
Table 1 lists the release history for this feature.
Not all commands may be available in your Cisco IOS software release. For release information about a specific command, see the command reference documentation.
Use Cisco Feature Navigator to find information about platform support and software image support. Cisco Feature Navigator enables you to determine which Cisco IOS and Catalyst OS software images support a specific software release, feature set, or platform. To access Cisco Feature Navigator, go to http://tools.cisco.com/ITDIT/CFN/jsp/index.jsp. An account on Cisco.com is not required.
Note
Table 1 lists only the Cisco IOS software release that introduced support for a given feature in a given Cisco IOS software release train. Unless noted otherwise, subsequent releases of that Cisco IOS software release train also support that feature.
Table 1 Feature Information for MPLS LDP Autoconfiguration
Feature Name Releases Feature InformationMPLS LDP Autoconfiguration
12.0(30)S
12.0(32)SY
12.2(28)SB
12.2(33)SRB
12.3(14)T
15.0(1)M
12.2(33)XNEThis feature enables you to globally configure LDP on every interface associated with a specified Interior Gateway Protocol (IGP) instance.
The following sections provide information about this feature:
•
Information About MPLS LDP Autoconfiguration
•
How to Configure MPLS LDP Autoconfiguration
In Cisco IOS Release 12.0(30)S, this feature was introduced with support for OSPF.
In Cisco IOS Release 12.0(32)SY, support for IS-IS was added.
This feature was integrated into Cisco IOS
Release 12.2(28)SB with support for OSPF.This feature was integrated into Cisco IOS
Release 12.2(33)SRB.This feature was integrated into Cisco IOS
Release 12.3(14)T with support for OSPF.In Release 15.0(1)M, support for IS-IS was added.
This feature was integrated into Cisco IOS Release 12.2(33)XNE with support for IS-IS on the Cisco 10000 series router.
The following commands were modified: mpls ldp autoconfig, mpls ldp igp autoconfig, show isis mpls ldp, and show mpls ldp discovery.
CCDE, CCENT, CCSI, Cisco Eos, Cisco HealthPresence, Cisco IronPort, the Cisco logo, Cisco Nurse Connect, Cisco Pulse, Cisco SensorBase, Cisco StackPower, Cisco StadiumVision, Cisco TelePresence, Cisco Unified Computing System, Cisco WebEx, DCE, Flip Channels, Flip for Good, Flip Mino, Flipshare (Design), Flip Ultra, Flip Video, Flip Video (Design), Instant Broadband, and Welcome to the Human Network are trademarks; Changing the Way We Work, Live, Play, and Learn, Cisco Capital, Cisco Capital (Design), Cisco:Financed (Stylized), Cisco Store, Flip Gift Card, and One Million Acts of Green are service marks; and Access Registrar, Aironet, AllTouch, AsyncOS, Bringing the Meeting To You, Catalyst, CCDA, CCDP, CCIE, CCIP, CCNA, CCNP, CCSP, CCVP, Cisco, the Cisco Certified Internetwork Expert logo, Cisco IOS, Cisco Lumin, Cisco Nexus, Cisco Press, Cisco Systems, Cisco Systems Capital, the Cisco Systems logo, Cisco Unity, Collaboration Without Limitation, Continuum, EtherFast, EtherSwitch, Event Center, Explorer, Follow Me Browsing, GainMaker, iLYNX, IOS, iPhone, IronPort, the IronPort logo, Laser Link, LightStream, Linksys, MeetingPlace, MeetingPlace Chime Sound, MGX, Networkers, Networking Academy, PCNow, PIX, PowerKEY, PowerPanels, PowerTV, PowerTV (Design), PowerVu, Prisma, ProConnect, ROSA, SenderBase, SMARTnet, Spectrum Expert, StackWise, WebEx, and the WebEx logo are registered trademarks of Cisco Systems, Inc. and/or its affiliates in the United States and certain other countries.All other trademarks mentioned in this document or website are the property of their respective owners. The use of the word partner does not imply a partnership relationship between Cisco and any other company. (0910R)
Any Internet Protocol (IP) addresses used in this document are not intended to be actual addresses. Any examples, command display output, and figures included in the document are shown for illustrative purposes only. Any use of actual IP addresses in illustrative content is unintentional and coincidental.
© 2004-2009 Cisco Systems, Inc. All rights reserved.

