A GRE tunnel needs to be created between a CE and a PE in the following two cases:
l A CE interconnects with a PE through the public network.
l A CE interconnects with a PE through the VPN of a second carrier.
Pre-configuration Tasks
Before configuring a GRE tunnel between a CE and a PE, complete the following tasks:
l Assigning IP addresses for interfaces on the CE and PE
l Configuring the routes between the CE and PE
l Configuring the VPN provided that it is also passed through by the GRE tunnel between
the CE and PE
Data Preparation
To configure a GRE tunnel between a CE and a PE, you need the following data.
No. Data
1 Number of the GRE tunnel interface specified on the CE
2 Source address or source interface and destination address of the GRE tunnel interface
specified on the CE
3 Number of the GRE tunnel interface specified on the PE
4 Source address or source interface and destination address of the GRE tunnel interface
specified on the PE
5 Name of the VPN provided that it is also passed through by the GRE tunnel between
the CE and PE
1.4.2 Configuring the GRE Tunnel Interface on CE
After creating a tunnel interface on a CE, specify GRE as the encapsulation type, set the tunnel
source address or source interface, and set the tunnel destination address. The source address of
the tunnel specified on the CE is the destination address of the tunnel specified on the PE. The
destination address of the tunnel specified on the CE is the source address of the tunnel specified
on the PE.
Context
Perform the following steps on the CE.
Procedure
Step 1 Run:
system-view
The system view is displayed.
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.
9