integrity

Configures an integrity algorithm for an Internet Key Exchange version 2 (IKEv2) proposal.
Syntax
integrity { sha256 | sha384 }
no integrity { sha256 | sha384 }
Command Default

The default integrity algorithm is SHA-384.

Parameters
sha256
Specifies SHA-2 family 256-bit (hash message authentication code (HMAC) variant) as the hash algorithm.
sha384
Specifies SHA-2 family 384-bit (HMAC variant) as the hash algorithm.
Modes

IKEv2 proposal configuration mode

Usage Guidelines

Multiple integrity algorithms may be configured for an IKEv2 proposal.

When only one integrity algorithm is configured for an IKEv2 proposal, removing it restores the default configuration.

The no form of the command removes the specified integrity algorithm configuration.

Examples

The following example shows how to configure the integrity algorithm SHA-256 for an IKEv2 proposal name ikev2_proposal.

device(config)# ikev2 proposal ikev2_proposal
device(config-ikev2-proposal-ikev2_proposal)# integrity sha256
History
Release version Command history
08.0.50 This command was introduced.