Manual

Layer 2 Tunnel Protocol Version 3
How to Configure Layer 2 Tunnel Protocol Version 3
32
Cisco IOS Releases 12.0(29)S and 12.2(25)S
Step 3
l2tp-class [l2tp-class-name]
Example:
Router(config)# l2tp-class class1
Specifies the L2TP class name and enters L2TP class
configuration mode.
The l2tp-class-name argument is optional. However, if
you want to configure multiple L2TP classes you must
specify a unique l2tp-class-name for each one.
Step 4
digest [secret [0 | 7] password] [hash {md5 |
sha}]
Example:
Router(config-l2tp-class)# digest secret cisco
hash sha
or
Router(config-l2tp-class)# digest hash sha
(Optional) Enables L2TPv3 control connection
authentication or integrity checking.
secret—(Optional) Enables L2TPv3 control
connection authentication.
Note If the digest command is issued without the secret
keyword option, L2TPv3 integrity checking will be
enabled.
[0 | 7]—Specifies the input format of the shared secret.
The default value is 0.
0—Specifies that a plain-text secret will be
entered.
7—Specifies that an encrypted secret will be
entered.
password—Defines the shared secret between peer
routers. The value entered for the password argument
must be in the format that matches the input format
specified by the [0 | 7] keyword option.
hash {md5 | sha}—(Optional) Specifies the hash
function to be used in per-message digest calculations.
md5—Specifies HMAC-MD5 hashing.
sha—Specifies HMAC-SHA-1 hashing.
The default hash function is md5.
Command or Action Purpose