Find answers to your technical questions and learn how to use our products
Search suggestions:
Generates a random string which you can use as a pre-shared key for IKE. Use the same key on both peers.
crypto isakmp suggest-key [key-length] [key-type {alphanumeric | hexadecimal}]
Parameter
Description
Possible Values
Default Value
key-length
The length of the key to be generated
8-127 alphanumerical characters
8-64 bytes in hexadecimal notation
32 characters
key-type
Keyword indicating the type of key to be generated
alphanumeric or hexadecimal
alphanumeric
read-write
general
To generate a random string of any length:
Gxxx-001# crypto isakmp suggest-key The suggest key: GNpi1odGNBrB5z4GJLz156jDmRWAGFES
To generate a random string of 8 characters:
Gxxx-001# crypto isakmp suggest-key 8 The suggest key: iEvKoQ1e
Previous Topic
Next Topic