Encapsulation is TUNNEL, loopback not set
Tunnel source 20.1.1.1 (loopback1), destination 30.1.1.2
Tunnel protocol/transport GRE/IP, key disabled
keepalive disabled
Checksumming of packets disabled
QoS max-bandwidth : 64 Kbps
Output queue : (Urgent queue : Size/Length/Discards) 0/50/0
Output queue : (Protocol queue : Size/Length/Discards) 0/1000/0
Output queue : (FIFO queue : Size/Length/Discards) 0/256/0
300 seconds input rate 31776024 bytes/sec, 31776152 packets/sec
300 seconds output rate 31776024 bytes/sec, 31776152 packets/sec
511 packets input, 46339 bytes
0 input error
508 packets output, 46015 bytes
0 output error
300 seconds input rate 0 bits/sec, 0 packets/sec
300 seconds output rate 0 bits/sec, 0 packets/sec
0 seconds input rate 0 bits/sec, 0 packets/sec
0 seconds output rate 0 bits/sec, 0 packets/sec
260 packets input, 24180 bytes
0 input error
65 packets output, 7020 bytes
0 output error
Input:
Unicast: 0 packets, Multicast: 0 packets
Output:
Unicast: 65 packets, Multicast: 0 packets
Input bandwidth utilization : --
Output bandwidth utilization : --
2.5 Configuring the Keepalive Function
Before configuring a tunnel policy and a GRE tunnel for the VPN, enable the Keepalive function
of the GRE tunnel. In this manner, the VPN does not select the GRE tunnel that cannot reach
the remote end, and data loss can be avoided.
2.5.1 Establishing the Configuration Task
Before configuring the Keepalive function of a GRE tunnel, familiarize yourself with the
applicable environment, complete the pre-configuration tasks, and obtain the required data. This
can help you complete the configuration task quickly and accurately.
Application Environment
The Keepalive function can be configured on one end of a GRE tunnel to test the status of the
GRE tunnel. If the remote end is found unreachable, the tunnel is disconnected on time to avoid
data black hole.
Figure 2-5
GRE tunnel supporting Keepalive
SwitchA
SwitchB
GRE tunnel
Source
Destination
Internet
Quidway S7700 Smart Routing Switch
Configuration Guide - VPN
2 GRE Configuration
Issue 01 (2011-07-15)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
70