authentication-algorithm
Syntax
authentication-algorithm { sha | sha256 }
undo authentication-algorithm
View
IKE proposal view
Default level
2: System level
Parameters
sha: Uses HMAC-SHA1.
sha256: Uses HMAC-SHA256.
Description
Use the authentication-algorithm command to specify an authentication algorithm for an IKE proposal.
Use the undo authentication-algorithm command to restore the default.
By default, an IKE proposal uses the HMAC-SHA256 authentication algorithm.
Related commands: ike proposal and display ike proposal.
Examples
# Set SHA1 as the authentication algorithm for IKE proposal 10.
<Sysname> system-view [Sysname] ike proposal 10 [Sysname-ike-proposal-10] authentication-algorithm sha