Specifications

Table Of Contents
mpls ldp password option
MP-254
Cisco IOS Multiprotocol Label Switching Command Reference
January 2010
Usage Guidelines This command specifies the password argument as the MD5 password for LDP sessions with neighbors
whose LDP router IDs are permitted by an access list specified in the acl argument. This password is
used if a password is not specified by the mpls ldp neighbor password command.
When a configuration includes multiple mpls l
dp password option commands, the number argument
defines the order in which the command access lists are evaluated.
A configuration for a VRF can include zero, one, or more mpls ldp pa
ssword option commands.
You can specify the passwords as unencrypted text or encrypted format (type 7). If you configure a type
7 p
assword, the password is saved in encrypted form. If you configure a type 0 password, it can be saved
in unencrypted form or encrypted form, depending on the status of the service password-encryption
command:
If the service password-encryption command is enabled, the type 0 password is converted and
saved in encrypted form.
When you enter a sho
w running-config command, if the global service password-encryption
command is enabled, a password saved in unencrypted form is converted into encrypted form, and
displayed and saved in encrypted form.
If the service password-encryption command is disabled, the type 0 password is saved in
unnencrypted form.
Examples The following example shows how to configure an MD5 password for an LDP session with neighbors
wh
ose LDP router IDs are permitted by access list 10:
Router> enable
Router#
Router# configu
re terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)# mpls ldp password option 6 for 10
password1
Router(config)# exit
Router#
The password, called password1in the above example, is unencrypted.
Related Commands Command Description
mpls ldp neighbor password Configures a password key for computing MD5 checksums for the
se
ssion TCP connection with the specified neighbor.
mpls ldp password fallback Configures an MD5 password for LDP sessions with peers.
mpls ldp password required Specifies that LDP must use a password when establishing a session
b
etween LDP peers.
mpls ldp password rollover
durat
ion
Configures the duration before the new password takes effect on an
MPLS LSR.
service password-encryption Encrypts passwords.
show running-config Displays the contents of the currently running configuration file or
t
he configuration for a specific class map, interface, map class,
policy map, or VC class.