NOTE
To prevent packet loss after the 24 byte GRE header is added, make sure that any physical interface that is carrying GRE tunnel
trac has an IP MTU setting at least 24 bytes greater than the tunnel MTU setting. This conguration is only allowed on the
system if the tunnel mode is set to GRE.
Changing the maximum number of tunnels supported
By default, FastIron X Series IPv6 devices support up to 32 GRE tunnels. You can congure the device to support 16 - 64 GRE tunnels.
To change the maximum number of tunnels supported, enter commands such as the following.
device(config)# system-max gre-tunnels 16
Reload required. Please write memory and then reload or power cycle.
device(config)# write memory
device(config)# exit
device# reload
NOTE
You must save the conguration (write memory) and reload the software to place the change into
eect.
Syntax: system-max gre-tunnels number
The number variable species the number of GRE tunnels that can be supported on the device. The permissible range is 16 - 64. The
system-max gre-tunnels command determines the interface range that is supported for an interface tunnel. For example, if the system-
max value is reduced, it is possible that the congured interfaces may be rejected after a system reload.
Conguring GRE link keepalive
When GRE tunnels are used in combination with static routing or policy-based routing, and a dynamic routing protocol such as RIP, BGP,
or OSPF is not deployed over the GRE tunnel, a
congured tunnel does not have the ability to bring down the line protocol of either
tunnel endpoint, if the far end becomes unreachable. Trac sent on the tunnel cannot follow alternate paths because the tunnel is always
UP. To avoid this scenario, enable GRE link keepalive, which will maintain or place the tunnel in an UP or DOWN state based upon the
periodic sending of keepalive packets and the monitoring of responses to the packets. If the packets fail to reach the tunnel far end more
frequently than the congured number of retries, the tunnel is placed in the DOWN state.
To enable GRE link keepalive, congure it on one end of the tunnel and ensure the other end of the tunnel has GRE enabled.
NOTE
Keepalives are not supported when a tunnel interface is not within the default-VRF.
To congure GRE link keepalive, enter commands such as the following.
device(config)# interface tunnel 1
device(config-tnif-1)# keepalive 12 4
These commands congure the device to wait for 4 consecutive lost keepalive packets before bringing the tunnel down. There will be a
12 second interval between each packet. Note that when the tunnel comes up, it would immediately (within one second) send the rst
keepalive packet.
Syntax: [no] keepalive seconds retries
Use the no form of the command to disable the keepalive option.
The seconds variable species the number of seconds between each initiation of a keepalive message. The range for this interval is 2 -
32767 seconds. The default value is 10 seconds.
IPv4 point-to-point GRE tunnels
FastIron Ethernet Switch Layer 3 Routing
53-1003627-04 113