RUGGEDCOM ROX II
CLI User Guide
Chapter 12
Tunneling and VPNs
Adding a GRE Tunnel 401
Section12.7.3
Adding a GRE Tunnel
To add a GRE tunnel, do the following:
1. Make sure the CLI is in Configuration mode.
2. Add the GRE tunnel by typing:
tunnel gre name
Where:
• name is the interface name of the GRE tunnel network. The interface name must start with a lowercase
letter, but may contain any combination of lowercase letters, numbers and dashes up to a maximum of 10
characters. The prefix gre- will be added to this interface name.
3. Configure the following parameter(s) as required:
Parameter Description
local-ip { local-ip } Synopsis: A string 7 to 15 characters long or a string 6 to 40 characters long
The IP address of the local end of the tunnel.
This parameter is mandatory.
remote-ip { remote-ip } Synopsis: A string 7 to 15 characters long or a string 6 to 40 characters long
The IP address of the remote end of the tunnel.
This parameter is mandatory.
remote-net { remote-net } Synopsis: A string 9 to 18 characters long or a string 4 to 43 characters long
The target network of remote end of the tunnel.
mtu { mtu } Synopsis: A 32-bit signed integer
Default: 1476
The MTU of the GRE interface.
multicast Enables multicast traffic on the tunnel interface.
cost { cost } Synopsis: A 32-bit signed integer between 1 and 255
Default: 1
The routing cost associated with networking routing that directs traffic through the
tunnel.
key { key } Synopsis: { none, input, output, both }
Default: none
The key for tunneled packets
key-id { key-id } Synopsis: A 32-bit unsigned integer between 0 and 4294967295
Default: 0
The key ID for tunneled packets
checksum { checksum } Synopsis: { none, input, output, both }
Default: none
The checksum for tunneled packets
sequence { sequence } Synopsis: { none, input, output, both }
Default: none
The sequence number for tunneled packets
tunnel-alarms Synopsis: { true, false }
Default: false