The ospf mpls ldp auto-config disable command disables MPLS LDP automatic configuration on an OSPF interface.
The undo ospf mpls ldp auto-config disable command restores the default configurations.
By default, if the mpls ldp auto-config command is run for an OSPF process, MPLS LDP is enabled automatically on all interfaces which can establish OSPF neighbor relationships in this OSPF process; otherwise, MPLS LDP automatic configuration is disabled on these interfaces.
100GE interface view, 10GE interface view, 25GE sub-interface view, 25GE interface view, 400GE interface view, 40GE interface view, 50GE sub-interface view, 50GE interface view, Eth-Trunk interface view, FlexE interface view, GE optical interface view, GE electrical interface view, GMPLS-UNI interface view, Global VE sub-interface view, Tunnel interface view, VE sub-interface view, VLANIF interface view
Usage Scenario
After the mpls ldp auto-config command is run for an OSPF process, MPLS LDP is enabled automatically on all interfaces which can establish OSPF neighbor relationships in the OSPF process. If you want to disable MPLS LDP from an interface, run the ospf mpls ldp auto-config disable command in the interface view.
Precautions
The ospf mpls ldp auto-config disable command can be run when the mpls ldp auto-config command has not been run in the OSPF view, but the ospf mpls ldp auto-config disable command does not take effect on interfaces.
If the ospf mpls ldp auto-config disable command has been run when the mpls ldp auto-config command is run, the ospf mpls ldp auto-config disable command can take effect on interfaces.