Figure 1-4
GRE tunnel supporting Keepalive
RouterA
RouterB
GRE tunnel
Source
Destination
Internet
Pre-configuration Tasks
Before configuring the Keepalive function, complete the following tasks:
l
Configuring the link layer attributes of the interfaces
l
Assigning IP addresses to the interfaces
l
Establishing the GRE tunnel and keeping the tunnel Up
Data Preparation
To configure the Keepalive function, you need the following data.
No. Data
1
Interval for sending Keepalive messages
2
Retry times of the unreachable timer
1.5.2 Enabling the Keepalive Function
The GRE tunnel Keepalive function is unidirectional. To implement the Keepalive function on
both ends, enable the Keepalive function on both ends of a GRE tunnel.
Context
Perform the following steps on the router that requires the Keepalive function.
Procedure
Step 1
Run:
system-view
The system view is displayed.
Step 2
Run:
interface tunnel
interface-number
The tunnel interface view is displayed.
Step 3
Run:
tunnel-protocol
gre
Huawei AR1200 Series Enterprise Routers
Configuration Guide - VPN
1 GRE Configuration
Issue 01 (2012-04-20)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
14