Huawei AR1200 Series Enterprise Routers
Configuration Guide - VPN
Procedure
l
l
l
l
----End
1.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
When GRE goes abnormal, run the debugging commands in the user view to view debugging
information, locate the fault, and analyze the cause.
Procedure
l
----End
1.7 Configuration Examples
Familiarize yourself with the configuration procedures against the networking diagrams. This
section provides networking requirements, configuration notes, and configuration roadmap in
configurations examples.
1.7.1 Example for Configuring a Static Route for GRE
This section provides an example for configuring a static route for GRE. In this networking,
traffic between users is transmitted through a GRE tunnel; a static route is configured between
the device and its connected client.
Networking Requirements
In
Figure
OSPF runs between them.
GRE is enabled between Router A and Router C to achieve interworking between PC 1 and PC
2.
PC1 takes Router A as its default gateway, and PC2 takes Router C as its default gateway.
Issue 01 (2012-04-20)
Run the display interface tunnel [ interface-number ] command to check the tunnel
interface running status.
Run the display ip routing-table vpn-instance vpn-instance-name command to check the
VPN routing table on the PE.
Run the display ip routing-table command to check the routing table on the CE.
Run the ping [ -a source-ip-address | -vpn-instance vpn-instance-name ]
to check whether the two ends of the tunnel can communicate with each other.
NOTE
The debugging process affects system performance. Therefore, after finishing the debugging process, run
the undo debugging all command immediately to disable the debugging.
Run the debugging tunnel keepalive command in the user view to debug the Keepalive
function of the GRE tunnel.
1-5, Router A, Router B, and Router C belong to the VPN backbone network and
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
1 GRE Configuration
*
host command
17