security vpn ipsec profile <profile-name> authentication pre-shared-secret <secret>
Specifies the pre-shared secret used to authenticate the VPN peer.
- profile-name
- Multi-node. The name of the IPsec configuration profile.
You can define more than one IPsec profile by creating multiple profile configuration nodes.
- secret
- The pre-shared secret used to authenticate the VPN peer.
Configuration mode
security {
vpn {
ipsec {
profile profile-name {
authentication {
pre-shared-secret secret
}
}
}
}
}
Use this command to specify the pre-shared secret used to authenticate the VPN peer.
Use the set form of this command to specify the pre-shared secret to use for an IPsec configuration profile.
Use the delete form of this command to remove the pre-shared secret configuration.
Use the show form of this command to view the pre-shared secret configuration.