# pre-share

#### Syntax

pre-share key

no pre-share

#### Release Information

Command introduced before JunosE Release 7.1.0.

#### Description

Configures an unencrypted (red) preshared key. The router uses this key to authenticate IKE negotiations that arrive from any remote IP address specified for this transport profile and that are destined for the local IP address specified. The no version removes the key.

| Note: To have preshared key authentication take place, you must also specify the IKE policy rule as preshared by issuing the authentication command with the pre-share keyword in ISAKMP Policy Configuration mode.

#### Options

- key—Key value in ASCII format

#### Mode

Local IPSec Transport Profile Configuration