R3166-R3206-HP High-End Firewalls VPN Command Reference-6PW101
8
ipsec ipv4: Specifies the IPsec over IPv4 tunnel mode.
Description
Use the tunnel-protocol command to specify the tunnel mode for the tunnel interface.
Use the undo tunnel-protocol command to restore the default.
You can select a tunnel mode according to the actual network topology and application. The two ends
of a tunnel must have the same tunnel mode specified; otherwise, traffic transmission may fail.
Only one automatic tunnel can be created at the start point of a tunnel.
For more information about GRE tunnel modes and IPsec tunnel modes, see VPN Configuration Guide.
Examples
# Specify the GRE tunnel mode for the tunnel interface Tunnel2.
<Sysname> system-view
[Sysname] interface tunnel 2
[Sysname-Tunnel2] tunnel-protocol gre