HP VPN Firewall Appliances VPN Command Reference

3
Views
Tunnel interface view
Default command level
2: System level
Parameters
key-number: Specifies the key for the GRE tunnel interface, in the range of 0 to 4294967295.
Usage guidelines
For a P2P GRE tunnel, both ends of the tunnel must be configured with the same GRE key. Otherwise,
packets cannot pass the GRE key verification and will be discarded. This weak security mechanism can
prevent packets from being received mistakenly.
For a P2MP GRE tunnel, the GRE key identifies the priority of a tunnel entry. A tunnel entry with a smaller
GRE key value has a higher priority.
Examples
# Set the key for the GRE tunnel interfaces to 123 on device Sysname1 and device Sysname2.
// Set the GRE key to 123 for GRE tunnel interface 3 on device Sysname1.
<Sysname1> system-view
[Sysname1] interface tunnel 3
[Sysname1-Tunnel3] gre key 123
// Set the GRE key to 123 for GRE tunnel interface 2 on device Sysname2.
<Sysname2> system-view
[Sysname2] interface tunnel 2
[Sysname2-Tunnel2] gre key 123
Related commands
interface tunnel
display interface tunnel
gre p2mp aging-time
Use gre p2mp aging-time to set the aging time for P2MP GRE tunnel entries.
Use undo gre p2mp aging-time to restore the default.
Syntax
gre p2mp aging-time aging-time
undo gre p2mp aging-time
Default
The tunnel entry aging time is 5 seconds.
Views
Tunnel interface view
Default command level
2: System level