The sa encryption-hex command configures an encryption key for manual Security Association (SA) in hexadecimal format.
The undo sa encryption-hex command deletes an encryption key for manual SA configured in hexadecimal format.
By default, no encryption key is created.
Parameter | Description | Value |
---|---|---|
inbound |
Specifies SA parameters for incoming protocol packets. |
- |
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. |
- |
cipher |
Indicates the ciphertext type. |
- |
encry-in-esp |
Specifies a ciphertext key used for encryption. |
The value is in hexadecimal notation.
The corresponding cipher data ranges from 20 to 432. The encryption algorithms DES/3DES have a low security, which may bring security risks. If protocols allowed, using more secure encryption algorithms, such as AES, is recommended. |
plain plain-encry-in-esp |
Specifies a simple text password key used for encryption. |
The value is in hexadecimal notation.
|
Usage Scenario
ESP security protocol support encryption of IP protocol packets. The algorithm used for encryption/decryption is either DES, 3DES or AES. These algorithms need a key either in hexadecimal format to operate. The hexadecimal key to be used for encryption is configured using the sa encryption-hex command.
If sa encryption-hex command is configured, then the encryption key configured using sa string-key command is deleted automatically. Updating the key every 90 days is recommended.