Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Junos CLI Reference
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

ike-secrets

date_range 19-Nov-23

Syntax

content_copy zoom_out_map
ike-secrets {
    ike-secret {
        id id;
        secret (ascii-text ascii-text | hexadecimal hexadecimal);
    }
}

Hierarchy Level

content_copy zoom_out_map
[edit security host-vpn]

Description

Configure IKE shared secret details. If the shared secret passed between devices does not match, a session is not set up.

Note:

To configure a host-to-host VPN connection, you must configure the ike-secrets statement.

Options

ike-secret

Specify the name of the IKE secret.

id id

Specify the identity that the secret belongs to—for example, an IP address, a domain name, or an e-mail address. This identity matches local and remote identities as exchanged in the IKE security association (SA) negotiation at the [edit security host-vpn connections hierarchy level.

secret (ascii-text ascii-text | hexadecimal hexadecimal)

Define the preshared private key associated with the identity in either ASCII or hexadecimal format.

Required Privilege Level

security—To view this statement in the configuration.

security-control—To add this statement to the configuration.

Release Information

Statement introduced in Junos OS Evolved Release 18.3R1.

footer-navigation