security vpn ipsec site-to-site peer <peer> authentication mode <mode>
Specifies the authentication method to be used for the connection with the VPN peer.
- peer
- Mandatory. The address of the far-end VPN gateway. The format is an IPv4 address, an IPv6 address, a hostname (IPv4 networks only), an authentication ID, or 0.0.0.0.
- mode
- Specifies the authentication method to be used for this connection. Supported values are as follows:
pre-shared-secret—Uses a pre-shared secret for authentication.
rsa—Uses an RSA digital signature for authentication.
x509—Uses X.509 V.3 certificates for authentication.
Configuration mode
security {
vpn {
ipsec {
site-to-site {
peer peer {
authentication {
mode mode
}
}
}
}
}
}
Use this command to specify the authentication method to be used for the connection to the VPN peer.
Use the set form of this command to specify the authentication method to be used for the connection to the VPN peer.
Use the delete form of this command to remove the authentication method configuration.
Use the show form of this command to view the authentication method configuration.