The sa encryption-hex command configures an encryption key for manual Security Association (SA) in hexadecimal format.
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 encryption-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 encryption-hex command. | - |
plain | Indicates the plaintext used for authentication. | - |
hex-plain-key | Specifies the plaintext key. | The value is in hexadecimal notation.
NOTE:
The DES and 3DES encryption algorithms have security risks; therefore, you are advised to use AES-128, AES-192 or AES-256 preferentially. |