authentication-algorithm

Syntax

authentication-algorithm sha

undo authentication-algorithm

View

IKE proposal view

Default level

2: System level

Parameters

sha: Uses HMAC-SHA1.

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 SHA1 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