<Quidway> display interface Tunnel 1/0/0
Tunnel1/0/0 current state : UP
Line protocol current state : UP
Description : HUAWEI, Quidway Series, Tunnel1/0/0 Interface
Route Port,The Maximum Transmit Unit is 1500
Internet Address is 40.1.1.1/24
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
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
2.5 Configuring the Keepalive Function
This section describes how to configure the Keepalive function for a GRE tunnel.
2.5.1 Establishing the Configuration Task
2.5.2 Enabling the Keep-alive Function
2.5.3 Checking the Configuration
2.5.1 Establishing the Configuration Task
Application Environment
The Keepalive function is used to test the status of a GRE tunnel. If the remote end is found
unreachable, the tunnel is disconnected on time to avoid data hole.
Figure 2-4 GRE tunnel supporting Keepalive
Internet
GRE tunnel
S9300-A
S9300-B
Source
Destination
Pre-configuration Tasks
Before configuring the Keepalive function, complete the following tasks:
l Configuring the link layer attributes of the interfaces
l Assigning the IP addresses for the interfaces
l Establishing the GRE tunnel and keeping the tunnel up
Quidway S9300 Terabit Routing Switch
Configuration Guide - VPN 2 GRE Configuration
Issue 03 (2009-08-20) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
2-11