Applicable Environment
To allow users of the CE that is not directly connected with a PE to access the Multi-Protocol
Label Switching (MPLS) VPN, configure a GRE tunnel and create routes between them and
configure MPLS VPN on the PE.
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
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
2.4.2 Configuring the GRE Tunnel Interface on CE
After creating a tunnel interface on a CE, you need to specify GRE as the encapsulation type,
set the source address or source interface of the tunnel interface, and set the destination address
of the tunnel interface. 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
Do as follows on the CE.
Procedure
Step 1
Run:
system-view
The system view is displayed.
Step 2
Run:
interface tunnel
interface-number
The tunnel interface is created and the tunnel interface view is displayed.
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.
66