Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    Configuring LDP Autoconfiguration

    LDP autoconfiguration enables you to ensure that LDP is configured on all interfaces running the IGP (IS-IS or OSPFv2). Using this command prevents you from having to configure LDP individually on each interface in the IGP. You can prevent LDP from being enabled on selected interfaces by issuing the no mpls ldp autoconfig command on the interface.

    When autoconfiguration is enabled for IS-IS, you can specify whether LDP is automatically configured on all IS-IS interfaces in the virtual router or just the interfaces in a particular IS-IS level. When autoconfiguration is enabled for OSPF, you can specify whether LDP is automatically configured on all OSPF interfaces in the virtual router or just the interfaces in a particular OSPF area.

    To configure LDP autoconfiguration to ensure that LDP is configured on all interfaces running the IGP:

    • Specify whether LDP is created automatically on the current interface or all interfaces:
      • Create LDP on all interfaces in the IGP router context
        host1(config)#router ospf 1 host1(config-router)#mpls ldp autoconfig area 1
      • Create LDP on the current interface
        host1(config)#interface atm 2/0 host1(config-if)#mpls ldp isis autoconfig

    Published: 2014-08-18