local-identity
Syntax
local-identity (distinguished-name | hostname identity-hostname | inet identity-ipv4 | inet6 identity-ipv6 | key-id | user-at-hostname identity-user);
Hierarchy Level
[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.