The sa authentication-hex command sets an authentication in hexadecimal format or cipher text for Security Associations (SAs).
Parameter | Description | Value |
---|---|---|
inbound | Specifies SA parameters for incoming packets. |
- |
outbound | Specifies SA parameters for outgoing packets. |
- |
ah | Specifies SA parameters for Authentication Header (AH). If the security proposal applied to an SA uses AH, ah must be configured in the sa authentication-hex command. |
- |
esp | Specifies SA parameters for Encapsulating Security Payload (ESP). If the security proposal applied to an SA uses ESP, esp must be configured in the sa authentication-hex command. |
- |
plain | Indicates the plain text used for authentication. |
- |
hex-plain-key | Specifies the plain text key. |
The value is in hexadecimal notation.
NOTE:
The MD5 and SHA-1 authentication algorithms have security risks; therefore, you are advised to use SHA-256 preferentially. |