id-type
Syntax
id-type { ip | name | user-fqdn }
undo id-type
View
IKE peer view
Default level
2: System level
Parameters
ip: Uses an IP address as the ID during IKE negotiation.
name: Uses a FQDN name as the ID during IKE negotiation.
user-fqdn: Uses a user FQDN name as the ID during IKE negotiation.
Description
Use the id-type command to select the type of the ID for IKE negotiation.
Use the undo id-type command to restore the default.
By default, the ID type is IP address.
In main mode, only the ID type of IP address can be used in IKE negotiation and SA creation.
Related commands: local-name, ike local-name, remote-name, remote-address, local-address, and exchange-mode.
Examples
# Use the ID type of name during IKE negotiation.
<Sysname> system-view [Sysname] ike peer peer1 [Sysname-ike-peer-peer1] id-type name