590
Parameters
aes-xcbc-mac
: Uses the HMAC-AES-XCBC-MAC algorithm.
md5
: Uses the HMAC-MD5 algorithm.
sha1
: Uses the HMAC-SHA1 algorithm.
sha256
: Uses the HMAC-SHA256 algorithm.
sha384
: Uses the HMAC-SHA384 algorithm.
sha512
: Uses the HMAC-SHA512 algorithm.
Usage guidelines
You can specify multiple PRF algorithms for an IKEv2 proposal. An algorithm specified earlier has a
higher priority.
Examples
# Create an IKEv2 proposal named
prop1
.
<Sysname> system-view
[Sysname] ikev2 proposal prop1
# Specify HMAC-SHA1 and HMAC-MD5 as the PRF algorithms, with HMAC-SHA1 preferred.
[Sysname-ikev2-proposal-prop1] prf sha1 md5
Related commands
ikev2 proposal
integrity
priority (IKEv2 policy view)
Use
priority
to set a priority for an IKEv2 policy.
Use
undo
priority
to restore the default.
Syntax
priority
priority
undo priority
Default
The priority of an IKEv2 policy is 100.
Views
IKEv2 policy view
Predefined user roles
network-admin
Parameters
priority
: Specifies the priority of the IKEv2 policy, in the range of 1 to 65535. A smaller number
represents a higher priority.
Usage guidelines
The priority set by this command can only be used to adjust the match order of IKEv2 policies.
Examples
# Set the priority to 10 for the IKEv2 policy
policy1
.
<Sysname> system-view