R3166-R3206-HP High-End Firewalls VPN Command Reference-6PW101
56
Default level
2: System level
Parameters
profile-name: Name of the IPsec profile, a case-insensitive string of 1 to 15 characters.
Description
Use the ipsec profile command to apply an IPsec profile to an IPsec tunnel interface.
Use the undo ipsec profile command to remove the application.
By default, no IPsec profile is applied to an IPsec tunnel interface, and no IPsec protection is provided.
Only one IPsec profile can be applied to a tunnel interface.
To apply another IPsec profile to the tunnel interface, remove the original application first.
An IPsec profile cannot be applied to the IPsec tunnel interface simultaneously.
Related commands: ipsec profile (system view).
Examples
# Apply IPsec profile vtiprofile to the IPsec tunnel interface.
<Sysname> system-view
[Sysname] interface tunnel 0
[Sysname-Tunnel0] tunnel-protocol ipsec ipv4
[Sysname-Tunnel0] ipsec profile vtiprofile
# Apply IPsec profile dvpnprofile to the DVPN tunnel interface.
<Sysname> system-view
[Sysname] interface tunnel 1
[Sysname-Tunnel1] tunnel-protocol dvpn udp
[Sysname-Tunnel1] ipsec profile dvpnprofile
ipsec proposal
Syntax
ipsec proposal proposal-name
undo ipsec proposal proposal-name
View
System view
Default level
2: System level
Parameters
proposal-name: Name for the proposal, a case-insensitive string of 1 to 15 characters .
Description
Use the ipsec proposal command to create an IPsec proposal and enter its view.
Use the undo ipsec proposal command to delete an IPsec proposal.
By default, no IPsec proposal exists.