pre-shared-key

Last Updated : Nov 06, 2012 |

Configures the IKE pre-shared key. Use no pre-shared-key to delete the IKE pre-shared key.

Tip:

Use suggest-key to generate a key.

Syntax

[no] pre-shared-key psk-str [hexadecimal]

Parameters

Parameter

Description

Possible Values

Default Value

psk-str

The pre-shared key string

1-127 alphanumerical characters

1-64 bytes in hexadecimal notation

32

hexadecimal

Keyword indicating that the pre-shared key string is being specified in hexadecimal notation

User level

read-write

Context

crypto isakmp peer

Example

To configure the IKE pre-shared key as GNpi1odGNBrB5z4GJLzI:

Gxxx-001(config-peer:149.49.70.1)# pre-shared-key GNpi1odGNBrB5z4GJLzI

To configure the IKE pre-shared key as 61623 hexadecimal:

Gxxx-001(config-peer:149.49.70.1)# pre-shared-key 616263 hexadecimal