Enabling The Keep-Alive Function - Huawei Quidway S9300 Configuration Manual

Terabit routing switch
Table of Contents

Advertisement

2 GRE Configuration
Data Preparation
To configure the Keepalive function, you need the following data.
No. Data
1
2

2.5.2 Enabling the Keep-alive Function

Context
Do as follows on the S9300 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:
keepalive [ period period ] [ retry-times retry-times ]
The Keepalive function is enabled.
The Keepalive function of a GRE tunnel is unidirectional. Therefore, to realize the Keepalive
function on both ends, you must enable the Keepalive function on both ends of a GRE tunnel.
One end can be configured with the Keepalive function regardless of whether the remote end is
enabled with the Keepalive function or not. But it is still recommended to enable the Keepalive
function on both ends of the GRE tunnel.
----End
2-12
Interval for sending Keepalive messages
Retry times of the unreachable timer
TIP
Before configuring the tunnel policy and the GRE tunnel for the VPN, enable the Keepalive function for
the GRE tunnel. In this manner, the VPN does not select the GRE tunnel that cannot reach the remote end,
and the data loss can be avoided. The reasons for enabling the Keepalive function are as below:
If the Keepalive function is not enabled, the local tunnel interface may always be Up regardless of
l
whether data reaches the remote end.
If the Keepalive function is enabled on the local end, the local tunnel interface is set Down when the
l
remote end is unreachable. As a result, the VPN does not select the unreachable GRE tunnel and the
data is not lost.
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
Quidway S9300 Terabit Routing Switch
Configuration Guide - VPN
Issue 01 (2009-07-28)

Advertisement

Table of Contents
loading

Table of Contents