l
Run the
display ip routing-table
command to check the routing table on the CE.
l
Run the
ping
[
-a
source-ip-address
|
-vpn-instance
vpn-instance-name
]
*
host
command
to check whether two ends of the tunnel can communicate with each other.
----End
2.6.3 Debugging GRE
When a GRE fault occurs, you can run the L2TP related debugging commands to debug GRE
and locate the fault.
Context
NOTE
The debugging process affects the system performance. Therefore, after finishing the debugging process,
you need run the
undo debugging all
command immediately to disable the debugging.
When GRE goes abnormal, run the
debugging
commands in the user view to view debugging
information, locate the fault, and analyze the cause.
For details of the debugging operation, refer to the chapter Information Center Configuration in
Quidway S7700 Smart Routing Switch
Configuration Guide-System Management
. For details
of debugging commands, refer to
Quidway S7700 Smart Routing Switch
Debugging
Reference
.
Procedure
l
Run the
debugging tunnel keepalive
command in the user view to debug the Keepalive
function of the GRE tunnel.
----End
2.7 Configuration Examples
Familiarize yourself with the configuration procedures against the networking diagrams. This
chapter provides networking requirements, configuration notes, and configuration roadmap in
configurations examples.
2.7.1 Example for Configuring Static Routes on the GRE Tunnel
Networking Requirements
As shown in
, Switch A, Switch B, and Switch C are on the VPN backbone network.
OSPF runs among the Switches.
GRE is used between Switch A and Switch C to implement the interworking between PC1 and
PC2.
PC1 and PC2 use Switch A and Switch C as their default gateways.
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.
74