security vpn l2tp remote-access ipsec-settings authentication pre-shared-secret <secret>
Sets a pre-shared key for IPsec authentication on remote access L2TP VPN connections.
- secret
- The password, or secret, to be used to authenticate the remote access connection. This parameter is mandatory if authentication mode is pre-shared-secret. The secret must be the same on both sides of the connection.
Configuration mode
security {
vpn {
l2tp {
remote-access {
ipsec-settings {
authentication {
pre-shared-secret secret
}
}
}
}
}
}
Use this command to set a pre-shared secret to be used to authenticate the IPsec part of remote access L2TP VPN connections.
Use the set form of this command to specify the pre-shared secret.
Use the delete form of this command to remove pre-shared secret configuration.
Use the show form of this command to display pre-shared secret configuration.