
auto-config all
Enables LDP auto-configuration for all interfaces on this router
Syntax: [no] auto-config all
Description: LDP can be enabled or disabled on all interfaces with a single command entered in MPLS LDP command mode. The auto-config all command entered in MPLS LDP command mode enables LDP on all interfaces for this router, with the exception of all interfaces that have been manually configured for LDP with a label-space-ID in the 1000 to 5000 range. LDP auto-configuration first deletes any pre-existing LDP configuration associated with the interface before enabling LDP on the interface with default values. A label-space-ID is auto-assigned to the interface.
NOTE The auto-config all command does not apply to interfaces configured with a label-space ID between 1000 and 5000. These interfaces remain unchanged.
Use the auto-config all command to enable LDP auto-configuration on all interfaces for this router.
Use the no auto-config command in MPLS LDP configuration command mode to disable LDP auto-configuration on this router. All configuration associated with LDP auto-configuration is deleted when using the no auto-config command.
Use the ldp-auto-config command to change the LDP auto-config configuration per interface.
Factory Default: Disabled
Command Mode: MPLS LDP configuration
Example 1: In the following example LDP auto-configuration is enabled on this router:
router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
router(config)#mpls ldp
router(config-ldp)#auto-config all
router(config-ldp)#end
router#show mpls ldp
LDP status is administratively up.
LDP Auto configuration enabled.
router#
Example 2: In the following example LDP auto-configuration is disabled on this router:
router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
router(config)#mpls ldp
router(config-ldp)#no auto-config all
router(config-ldp)#end
router#
Related Commands: ldp-auto-config
mpls ldp
show mpls ldp
show mpls ldp entity interface
show running-config
Copyright © 2004
Avici Systems Inc.
Avici® and TSR®
is a registered trademark of Avici Systems Inc.
IPriori, Composite Links, SSR, QSR, and NSR® are
trademarks of Avici Systems Inc.
Source
File Name: LDP%20Commands.fm
HTML File Name: LDP%20Commands2.html
Last Updated: 12/19/04 at 15:00:33