1.3.1 Establishing the Configuration Task
Before configuring a tunnel interface, familiarize yourself with the applicable environment,
complete the pre-configuration tasks, and obtain the required data. This can help you complete
the configuration task quickly and accurately.
Applicable Environments
Tunnels such as GRE and MPLS TE tunnels use a kind of virtual logical interface, that is, tunnel
interface, to forward packets. You must create the tunnel interfaces before using these tunnels.
The source address and destination address of a GRE tunnel uniquely identify the GRE tunnel.
The destination address of a GRE tunnel is the IP address of the real interface that receives
packets. In a GRE tunnel, the source address of the local end is the destination address of the
remote end; the destination address of the local end is the source address of the remote end.
For different purposes, a tunnel interface can be encapsulated differently.
Pre-configuration Tasks
Before configuring a tunnel interface, complete the following tasks:
l
Connecting the interfaces, and configuring physical parameters for the interfaces to ensure
that the physical status of the interfaces is Up
l
Configuring parameters of the link layer protocol and IP addresses for the interfaces to
ensure that the status of the link layer protocol on the interfaces is Up
l
If configure TE tunnel, enable MPLS and MPLS TE globally firstly
Data Preparation
To configure a tunnel interface, you need the following data.
No.
Data
1
Number of the tunnel interface
2
Encapsulation type of the tunnel, source address,source interface, and destination
address of the tunnel interface
1.3.2 Creating Tunnel Interfaces
You can manage such tunnels as GRE tunnels and TE tunnels by creating tunnel interfaces.
Context
Do as follows on switchs at two ends of a tunnel.
Procedure
Step 1
Run:
system-view
Quidway S7700 Smart Routing Switch
Configuration Guide - VPN
1 VPN Tunnel Management Configuration
Issue 01 (2011-07-15)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
6