Manual
Layer 2 Tunnel Protocol Version 3
password
121
Cisco IOS Releases 12.0(29)S and 12.2(25)S
password
To configure the password used by a provider edge (PE) router for Challenge Handshake Authentication
Protocol (CHAP) style Layer 2 Tunnel Protocol Version 3 (L2TPv3) authentication, use the password
command in L2TP class configuration mode. To disable a configured password, use the no form of this
command.
password [0 | 7] password
no password
Syntax Description
Defaults If a password is not configured for the L2TP class with the password command, the password
configured with the username password command in global configuration mode is used.
The default input format of the shared secret is 0.
Command Modes L2TP class configuration
Command History
Usage Guidelines The password hierarchy sequence used for a local and remote peer PE for L2TPv3 authentication is as
follows:
• The L2TPv3 password (configured with the password command) is used first.
• If no L2TPv3 password exists, the globally configured password (configured with the username
password command) for the router is used.
Examples The following example sets the password named tunnel2 to be used to authenticate an L2TPv3 session
between the local and remote peers in L2TPv3 pseudowires configured with the L2TP class
configuration named l2tp class1:
Router(config)# l2tp-class l2tp-class1
Router(config-l2tp-class)# authentication
Router(config-l2tp-class)# password tunnel2
[0 | 7] (Optional) Specifies the input format of the shared secret.
• 0—Specifies that a plain-text secret will be entered.
• 7—Specifies that an encrypted secret will be entered.
The default value is 0.
password The password used for L2TPv3 authentication.
Release Modification
12.0(23)S This command was introduced.
12.2(25)S This command was integrated into Cisco IOS Release 12.2(25)S.