581
Related commands
ikev2 proposal
keychain
Use
keychain
to specify an IKEv2 keychain for pre-shared key authentication.
Use
undo keychain
to restore the default.
Syntax
keychain
keychain-name
undo keychain
Default
No IKEv2 keychain is specified for an IKEv2 profile.
Views
IKEv2 profile view
Predefined user roles
network-admin
Parameters
keychain-name
: Specifies an IKEv2 keychain by its name. The keychain name is a case-insensitive
string of 1 to 63 characters and cannot contain a hyphen (-).
Usage guidelines
An IKEv2 keychain is required on both ends if either end uses pre-shared key authentication. You
can specify only one IKEv2 keychain for an IKEv2 profile.
You can specify the same IKEv2 keychain for different IKEv2 profiles.
Examples
# Create an IKEv2 profile named
profile1
.
<Sysname> system-view
[Sysname] ikev2 profile profile1
# Specify the IKEv2 keychain
keychain1
.
[Sysname-ikev2-profile-profile1] keychain keychain1
Related commands
display ikev2 profile
ikev2 keychain
match local (IKEv2 profile view)
Use
match local
to specify a local interface or a local IP address to which an IKEv2 profile can be
applied.
Use
undo match local
to remove a local interface or a local IP address to which an IKEv2 profile can
be applied.
Syntax
match local address
{
interface-type interface-number
|
ipv4-address
|
ipv6
ipv6-address
}
undo match local address
{
interface-type interface-number
|
ipv4-address
|
ipv6
ipv6-address
}