F3726, F3211, F3174, R5135, R3816-HP Firewalls and UTM Devices VPN Configuration Guide-6PW100
14
Ste
p
Command
Remarks
7. Configure the destination
address for the tunnel
interface.
destination ipv6-address
By default, no destination address
is configured for a tunnel interface.
8. Set the maximum number of
encapsulations in the tunnel.
encapsulation-limit [ number ]
Optional.
4 by default.
9. Enable the GRE packet
checksum function.
gre checksum
Optional.
Disabled by default.
10. Configure the key for the GRE
tunnel interface.
gre key key-number
Optional.
By default, no key is configured for
a GRE tunnel interface.
The two ends of a tunnel must have
the same key or have no key at the
same time.
11. Specify a value for the
Recursion Control field in the
GRE header.
gre recursion recursion-value
Optional.
By default, the value of the
Recursion Control field in the GRE
header is 0, which means not to
limit the number of encapsulations.
12. Return to system view. quit N/A
13. Configure the device to
discard the IPv4-compatible
IPv6 packets.
tunnel discard
ipv4-compatible-packet
Optional.
By default, the device does not
discard the IPv4-compatible IPv6
packets.
14. Configure a route for packet
forwarding through the
tunnel.
For more information about routing
configuration, see Network
Management Configuration
Guide.
Each end of the tunnel must have a
route (static or dynamic) through
the tunnel to the other end.
For information about tunnel interfaces and related configurations, see "Configuring tunneling."
For more information about commands interface tunnel, tunnel-protocol, source, destination,
encapsulation-limit and tunnel discard ipv4-compatible-packet, see VPN Command Reference.
103BDisplaying GRE
Task Command Remarks
Display information about a
specific or all tunnel interfaces.
display interface [ tunnel ] [ brief [ down ] ]
[ | { begin | exclude | include }
regular-expression ]
display interface tunnel number [ brief ] [ |
{ begin | exclude | include }
regular-expression ]
Available in any view.
Display IPv6 information about a
tunnel interface.
display ipv6 interface tunnel [ number ]
[ brief ] [ | { begin | exclude | include }
regular-expression ]
Available in any view.