Last Updated : Aug 28, 2026 |
Sets the hash method for an ISAKMP policy. Use no hash to return the hash method to the default (sha).
Prolog information

Syntax

[no] hash hash-method

Parameters

Parameter
Description
Possible Values
Default Value
hash-method
The hash method for the ISAKMP policy:
sha — Secure Hash Algorithm
md5 — Message Digest algorithm 5
sha

User level

read-write

Context

crypto isakmp policy

Example

To set the hash method to Message Digest algorithm 5:
Gxxx-001(config-isakmp:1)# hash md5