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

local-identity

date_range 09-Dec-23

Syntax

content_copy zoom_out_map
local-identity (distinguished-name | hostname identity-hostname | inet identity-ipv4 | inet6 identity-ipv6 | key-id | user-at-hostname identity-user);

Hierarchy Level

content_copy zoom_out_map
[edit security ike gateway gateway-name]

Description

Specify the local IKE identity to send in the exchange with the destination peer to establish communication. If you do not configure a local-identity, the device uses the IPv4 or IPv6 address corresponding to the local endpoint by default.

For Network Address Translation Traversal (NAT-T), both local identity and remote identity must be configured.

Options

  • distinguished-name distinguished name—Specify a distinguished name as the identifier for the remote gateway.

  • hostname hostname—Specify identity as a fully qualified domain name (FQDN).

  • inet ip-address—Specify identity as an IPv4 address.

  • inet6 ip-address—Specify identity as an IPv6 address.

  • user-at-hostname e-mail-address—Specify identity as an e-mail address.

  • key-id sring-key-id—Specify key ID in ASCII string.

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 Release 8.5. The inet6 option added in Junos OS Release 11.1.

footer-navigation