Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?


pre-shared-key (Security)


Hierarchy Level


Configure the key used to authenticate a dynamic peer during IKE phase 1 negotiation. Specify the key in either ASCII or hexadecimal format.


ascii-text key—Authentication key in ASCII format.

hexadecimal key—Authentication key in hexadecimal format.

Required Privilege Level

admin—To view this statement in the configuration.

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

Release Information

Statement introduced before Junos OS Release 7.4.