Specifications

Table Of Contents
mpls ldp password required
MP-255
Cisco IOS Multiprotocol Label Switching Command Reference
January 2010
mpls ldp password required
To specify that Label Distribution Protocol (LDP) must use a password for an attempt to establish a
session between LDP peers, use the mpls ldp password required command in global configuration
mode. To remove the requirement that a password be used for a session with LDP, use the no form of
this command.
mpls ldp [vr
f vrf-name] password required [for acl]
no mpls ldp [vr
f vrf-name] password required [for acl]
Syntax Description
Defaults If the vr
f keyword is not specified in the command, the command applies to the global routing table.
Command Modes Global configuration
Command History
Usage Guidelines This command specifies that LDP must always use a password for an attempt to establish a session. If
LD
P cannot determine the password to use for an LDP session with a neighbor, an LDP session is not
established.
The vr
f keyword is available when you have configured a VRF on the LSR. If you specify a vrf-name
argument and a VRF with that name is not configured on the LSR, a warning message is displayed and
the command is discarded. If you remove a VRF, you also delete the password configured for that VRF.
Each VRF or global routing table can have zero or one mpls ldp
password required command.
Examples The following example shows how to specify that LDP must use a password for an attempt to establish
a
session between LDP peers:
Router> enable
Router# configu
re terminal
vrf vrf-name (Optional) Specifies a Virtual Private Network (VPN) routing and
forwarding (VRF) instance configured on the label switch router (LSR).
for ac
l (Optional) Access list name or number that specifies a password is
mandatory only for LDP sessions with neighbors whose LDP router IDs are
permitted by the list. Only standard IP access lists can be used for the acl
argument.
Release Modification
12.2(28)SB This command was introduced.
12.0(32)SY This command was integrated into Cisco IOS Release 12.0(32)SY.
12.0(33)S This command was integrated into Cisco IOS Release 12.0(33)S.
12.2(33)SRC This command was integrated in Cisco IOS Release 12.2(33)SRC.
12.4(20)T This command was integrated into Cisco IOS Release 12.4(20)T.