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 |
|---|---|---|
dn |
Specifies the Distinguished Name (DN) as the local ID. |
- |
esn |
Specifies the ESN as the local ID. |
- |
fqdn |
Specifies the name as the local ID. |
- |
ip |
Specifies the IP address as the local ID. |
- |
ip-configurable |
Indicates that the IP address used as the local ID is configurable. This IP address can be configured using the local-id command. The IP address is the local IP address used for IKE negotiation by default. |
- |
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 |
DN |
ESN |
FQDN |
USER-FQDN |
|---|---|---|---|---|---|
pre-share |
Supported The ID is the local IP address used for IKE negotiation by default. Set an ID using the local-id command, indicating that the IKE peer uses this ID for identity authentication. |
Not supported |
Supported You do not need to configure this parameter. The ESN of the device is used by default. |
Supported Set an ID using the local-id command, indicating that the IKE peer uses this ID for identity authentication. The ID specified by the ike local-name command, indicating that all peers on the device use this ID for identity authentication. The ID specified by the local-id command has a higher priority than the one specified by the ike local-name command. |
Supported Set an ID using the local-id command, indicating that the IKE peer uses this ID for identity authentication. Set an ID using the ike local-name command, indicating that all peers on the device use this ID for identity authentication. The ID specified by the local-id command has a higher priority than the one specified by the ike local-name command. |
rsa-signature |
Supported The ID is the local IP address used for IKE negotiation by default. Set an ID using the local-id command, indicating that the IKE peer uses this ID for identity authentication. |
Supported Use the default ID in the certificate. No configuration is required. |
Not supported |
Supported Use the default ID in the certificate. No configuration is required. |
Supported Use the default ID in the certificate. No configuration is required. |
digital-envelope |
Not supported |
Supported Use the default ID in the certificate. No configuration is required. |
Not supported |
Not supported |
Not supported |
digital-envelope new |
Not supported |
Supported Use the default ID in the certificate. No configuration is required. |
Not supported |
Not supported |
Not supported |