In a soft GRE profile, the destination address of the soft GRE tunnel must be configured to specify the destination to which service data is forwarded.
A soft GRE tunnel is not capable of detecting tunnel status. If the remote interface is unreachable, the soft GRE tunnel cannot be immediately torn down. As a result, the source end continues sending data to the remote end, wasting device resources and bandwidth of the intermediate network.
The Keepalive detection function can monitor the soft GRE tunnel status to check whether the remote end is reachable. If the remote end is unreachable, the source end tears down the tunnel immediately to reduce resource waste and bandwidth occupation.
After the Keepalive detection function is enabled on the source end of a soft GRE tunnel, the source end starts a timer to periodically send and count Keepalive probes. The tunnel-unreachable counter is incremented by 1 every time a Keepalive probe is sent but no response is received within the detection period. If a response is received within the detection period, the tunnel-unreachable counter is cleared.
The remote end sends a reply packet to the source end after receiving a probe.
If the source end receives a reply packet before the counter reaches the preset value, the source end considers the remote end reachable. If the source end does not receive any reply packet when the counter reaches the preset value (retry times), the source end considers the remote end unreachable. The source end then tears down the tunnel. In this case, the source interface still sends Keepalive probes to the remote interface. When the remote interface becomes Up, the source interface becomes Up too and sets up a tunnel with the remote interface.
After receiving service data packets from STAs, the AP adds the service VLAN tag to the packets and then encapsulates them over a soft GRE tunnel. In some scenarios, however, the peer device of the soft GRE tunnel cannot process VLAN-tagged packets. In this case, configure the AP to send packets through the soft GRE tunnel in untagged mode.
APs can set up soft GRE tunnel with ME60 and UGW9811 devices only using IPv4 addresses.
The system view is displayed.
The WLAN view is displayed.
A soft GRE profile is created, and the soft GRE profile view is displayed.
By default, no soft GRE profile is available in the system.
The destination address of the soft GRE tunnel is configured.
By default, the destination address of a soft GRE tunnel is not configured.
The Keepalive detection function is enabled and Keepalive parameters are configured for the soft GRE tunnel.
By default, the Keepalive detection function of a soft GRE tunnel is disabled, the interval for sending Keepalive packets is 5 seconds, and the maximum number of Keepalive packet retransmissions is 3.
The AP is configured to send packets through the soft GRE tunnel without carrying the VLAN tag.
By default, packets sent by an AP through the soft GRE tunnel carry the VLAN tag.