Checking The Configuration - Huawei quidway s7700 Configuration Manual

Smart routing switch
Hide thumbs Also See for quidway s7700:
Table of Contents

Advertisement

Quidway S7700 Smart Routing Switch
Configuration Guide - VPN
----End

2.5.3 Checking the Configuration

After a GRE tunnel is enabled with the Keepalive function, you can view the Keepalive packets
and Keepalive Response packets sent and received by the GRE tunnel interfaces.
Prerequisite
The Keepalive function is enabled on the GRE tunnel.
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:
display keepalive packets count
Check the Keepalive packets and Keepalive Response packets sent and received by the GRE
tunnel interface.
----End
Example
On the tunnel interface that is enabled with the Keepalive function, run the display keepalive
packets count command, and you can ascertain the number of sent Keepalive packets and
received Keepalive Response packets on both the local end and the remote end. If the Keepalive
function is successfully configured on the local tunnel interface, the number of sent Keepalive
packets or received Keepalive Response packets on the local end is not 0.
[Quidway] interface tunnel 1/0/0
[Quidway-Tunnel1/0/0] tunnel-protocol gre
[Quidway-Tunnel1/0/0] keepalive
[Quidway-Tunnel1/0/0] display keepalive packets count
Send 34 keepalive packets to peers, Receive 34 keepalive response packets from peers
Receive 0 keepalive packets from peers, Send 0 keepalive response packets to peers
Issue 01 (2011-07-15)
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:
l If the Keepalive function is not enabled, the local tunnel interface may always be Up regardless of
whether data reaches the remote end.
l If the Keepalive function is enabled on the local end, the local tunnel interface is set Down when the
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.
2 GRE Configuration
72

Advertisement

Table of Contents
loading

Table of Contents