R3166-R3206-HP High-End Firewalls VPN Command Reference-6PW101

55
In an IPsec policy template group, an IPsec policy template with a smaller sequence number has a higher
priority.
Related commands: display ipsec policy template.
Examples
# Create an IPsec policy template with the name template1 and the sequence number 100.
<Sysname> system-view
[Sysname] ipsec policy-template template1 100
[Sysname-ipsec-policy-template-template1-100]
ipsec profile (system view)
Syntax
ipsec profile profile-name
undo ipsec profile profile-name
View
System view
Default level
2: System level
Parameters
profile-name: Name for the IPsec profile, a case-insensitive string of 1 to 15 characters.
Description
Use the ipsec profile command to create an IPsec profile and enter its view. An IPsec profile defines the
IPsec proposals to be used to protect the data and the IKE negotiation parameters to be used to set up
the SAs.
Use the undo ipsec profile command to delete an IPsec profile.
By default, no IPsec profile exists.
IPsec profiles can be applied to only IPsec tunnel interfaces.
Related commands: ipsec profile (tunnel interface view) and display ipsec profile.
Examples
# Create IPsec profile profile1 and enter its view.
<Sysname> system-view
[Sysname] ipsec profile profile1
[Sysname-ipsec-profile-profile1]
ipsec profile (tunnel interface view)
Syntax
ipsec profile profile-name
undo ipsec profile
View
Tunnel interface view