Command:

hash (IKE policy)


Mode:

router(config-isakmp)#


Syntax:

hash {sha | md5}

no hash

 

Syntax Description:

sha Specifies SHA-1 (HMAC variant) as the hash algorithm.
md5 Specifies MD5 (HMAC variant) as the hash algorithm.

 

Command Description:

To specify the hash algorithm within an Internet Key Exchange policy, use the hash ISAKMP policy configuration command. IKE policies define a set of parameters to be used during IKE negotiation. To reset the hash algorithm to the default SHA-1 hash algorithm, use the no form of this command.


Example:

The following example configures an IKE policy with the MD5 hash algorithm (all other parameters are set to the defaults):

crypto isakmp policy 15
hash md5
exit


Misconceptions:

None.


Related Commands

authentication (IKE policy)

crypto isakmp policy

encryption (IKE policy)

group (IKE policy)

lifetime (IKE policy)

show crypto isakmp policy


© Cisco Systems, Inc. 2001, 2002
World Wide Education

Converted from CHM to HTML with chm2web Pro 2.85 (unicode)