H3C S6550X-HI Series Command Reference Manual page 2326

Table of Contents

Advertisement

<Sysname> system-view
[Sysname] ike profile prof1
# Configure a peer ID with the identity type of FQDN and the value of www.test.com.
[Sysname-ike-profile-prof1] match remote identity fqdn www.test.com
# Configure a peer ID with the identity type of IP address and the value of 10.1.1.1.
[Sysname-ike-profile-prof1] match remote identity address 10.1.1.1
Related commands
local-identity
pre-shared-key
Use
pre-shared-key
Use
undo pre-shared-key
Syntax
pre-shared-key { address { ipv4-address [ mask | mask-length ] | ipv6
ipv6-address [ prefix-length ] } | hostname host-name } key { cipher |
simple } string
undo pre-shared-key { address { ipv4-address [ mask | mask-length ] | ipv6
ipv6-address [ prefix-length ] } | hostname host-name }
Default
No preshared key is configured.
Views
IKE keychain view
Predefined user roles
network-admin
Parameters
: Specifies a peer by its address.
address
ipv4-address
: Specifies the mask in dotted decimal notation. The default mask is 255.255.255.255.
mask
mask-length
: Specifies an IPv6 peer.
ipv6
ipv6-address
prefix-length
128.
hostname host-name
characters.
: Specifies a preshared key.
key
: Specifies a preshared key in encrypted form.
cipher
: Specifies a preshared key in plaintext form. For security purposes, the key specified in
simple
plaintext form will be stored in encrypted form.
to configure a preshared key.
to delete a preshared key.
: Specifies the IPv4 address of the peer.
: Specifies the mask length in the range of 0 to 32. The default mask length is 32.
: Specifies the IPv6 address of the peer.
: Specifies the prefix length in the range of 0 to 128. The default prefix length is
: Specifies a peer by its hostname, a case-sensitive string of 1 to 255
32

Advertisement

Table of Contents
loading

Table of Contents