The local-id-type command sets the type of the local ID used in IKE negotiation.
The undo local-id-type command restores the default type of the local ID used in IKE negotiation.
By default, the local ID type used by IKE negotiation is IP.
Parameter | Description | Value |
---|---|---|
fqdn |
Specifies the name as the local ID. |
- |
ip |
Specifies the IP address as the local ID. |
- |
key-id |
Specifies the key-id as the local ID. |
- |
user-fqdn |
Specifies the USER-FQDN as the local ID. |
- |
Usage Scenario
Identity authentication is a protection mechanism for IKE negotiation. The device ensures security by confirming identities of communication parties. IKE peers can use different types. This command configures the type of the local ID of an IKE peer.
Precautions
Authentication Method |
IP |
FQDN |
USER-FQDN |
key-id |
---|---|---|---|---|
pre-share |
Supported The IP address is the local IP address used for IKE negotiation by default. |
Supported The ID specified by the ike local-name command, indicating that all peers on the device use this ID for identity authentication. |
Supported The ID specified by the ike local-name command, indicating that all peers on the device use this ID for identity authentication. |
Supported This parameter is often used when the device using the Efficient VPN policy functions as a remote end to communicate with Cisco devices. |