system : gre-tunnel
 
gre-tunnel
Use this command to configure the tunnel for a GRE interface. A new interface of type “tunnel” with the same name is created automatically as the local end of the tunnel. This command is available only in NAT/Route mode.
To complete the configuration of a GRE tunnel, you need to:
configure a firewall policy to pass traffic from the local private network to the tunnel interface
configure a static route to the private network at the remote end of the tunnel using the GRE tunnel “device”
optionally, define the IP addresses for each end of the tunnel to enable dynamic routing through the tunnel or to enable pinging of each end of the tunnel for testing
Syntax
config system gre-tunnel
edit <tunnel_name>
set interface <interface_name>
set local-gw <localgw_IP>
set remote-gw <remotegw_IP>
end
Variable
Description
Default
edit <tunnel_name>
Enter a name for the tunnel.
No default.
interface <interface_name>
Enter the physical, VLAN, or IPsec VPN interface that functions as the local end of the tunnel.
 
local-gw <localgw_IP>
Enter the IP address of the local gateway.
 
remote-gw <remotegw_IP>
Enter the IP address of the remote gateway.