Configuring A Gre Tunnel Between Ce And Pe; Establishing The Configuration Task - Huawei Quidway S9300 Configuration Manual

Terabit routing switch
Table of Contents

Advertisement

Quidway S9300 Terabit Routing Switch
Configuration Guide - VPN
Run the display ip routing-table command, and you can see that the routing table contains the
route passing through the tunnel interface. The following is an example:
<Quidway> display ip routing-table
Route Flags: R - relied, D - download to fib
------------------------------------------------------------------------------
Routing Tables: Public
Destination/Mask
Run the ping -a source-ip-address dest-ip-address command, and you can see that the local
tunnel interface can ping the destination tunnel interface.

2.4 Configuring a GRE Tunnel Between CE and PE

This section describes how to configure a CE to access the public network by using a GRE
tunnel.

2.4.1 Establishing the Configuration Task

2.4.2 Configuring the GRE Tunnel Interface on CE
2.4.3 Configuring the GRE Tunnel Interface on PE
2.4.4 Binding the Tunnel with VPN to Which CE belongs on PE
2.4.5 Checking the Configuration
2.4.1 Establishing the Configuration Task
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
l
Data Preparation
To configure a GRE tunnel between a CE and a PE, you need the following data.
Issue 03 (2009-08-20)
Destinations : 11
Proto
10.1.1.0/24
Direct 0
10.1.1.2/32
Direct 0
10.2.1.0/24
Static 60
20.1.1.0/24
Direct 0
20.1.1.1/32
Direct 0
20.1.1.2/32
Direct 0
30.1.1.0/24
OSPF
40.1.1.0/24
Direct 0
40.1.1.1/32
Direct 0
127.0.0.0/8
Direct 0
127.0.0.1/32
Direct 0
Assigning IP addresses for interfaces on the CE and PE
Configuring the routes between the CE and PE
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
Routes : 11
Pre
Cost
Flags NextHop
0
0
0
0
0
0
10
2
0
0
0
0
2 GRE Configuration
Interface
D
10.1.1.2
Vlanif20
D
127.0.0.1
InLoopBack0
D
40.1.1.1
Tunnel1/0/1
D
20.1.1.1
Vlanif10
D
127.0.0.1
InLoopBack0
D
20.1.1.2
Vlanif10
D
20.1.1.2
Vlanif10
D
40.1.1.1
Tunnel1/0/1
D
127.0.0.1
InLoopBack0
D
127.0.0.1
InLoopBack0
D
127.0.0.1
InLoopBack0
2-7

Advertisement

Table of Contents
loading

Table of Contents