show security ike pre-shared-key
Syntax
show security ike pre-shared key
master-key
<master-key>
user-id
<user-id>
gateway
<gateway_name>
Description
Display the Internet Key Exchange (IKE) preshared key used by the Virtual Private network (VPN) gateway to authenticate the remote access user. Use either master-key or gateway option to get the master presharedkey.
Options
-
master-key
master-key
—(Optional) Primary preshared key. -
user-id
user-id
—(Optional) IKE user ID value. -
gateway
gateway_name
—(Optional) Label of the VPN gateway set with master preshared key.
Required Privilege Level
view
Sample Output
- show security ike pre-shared-key user-id
- show security ike pre-shared-key gateway gateway_name user-id user-id
show security ike pre-shared-key user-id
user@host> show security ike pre-shared-key user-id a@example.net master-key example Preshared Key:3b33ec3631a561ec5a710f5d02f208033b108bb4
show security ike pre-shared-key gateway gateway_name user-id user-id
user@host> show security ike pre-shared-key gateway HUB_GW user-id user1@juniper.net Pre-shared key: 79e4ea39f5c06834a3c4c031e37c6de24d46798a
Release Information
Command introduced in Junos OS Release 8.5.
gateway
option is introduced in Junos OS Release 21.1R1.