The system view is displayed.
Step 2
Run:
interface tunnel
interface-number
A tunnel interface is created.
TIP
When creating the tunnel interfaces, you are recommended to set the slot numbers of the tunnel interfaces
the same as the slot number of the interface sending the packets, that is, the interface at the source end. In
this manner, the packet forwarding efficiency can be improved.
----End
1.3.3 Configuring a Tunnel
Tunnel interfaces of different types have different configurations. The command for a specific
feature can be configured on tunnel interfaces only after these tunnel interfaces are configured
with encapsulation modes.
Context
Do as follows on switchs with tunnel interfaces.
Procedure
Step 1
Run:
system-view
The system view is displayed.
Step 2
Run:
interface tunnel
interface-number
The tunnel interface view is displayed.
Step 3
Run:
tunnel-protocol
{
gre
|
mpls
te
|
ipv6-ipv4
[
6to4
|
auto-tunnel
|
isatap
] |
ipv4-
ipv6
|
none
}
The encapsulation type of the tunnel is configured.
By default, the encapsulation protocol of a tunnel interface is
none
.
The related commands of an encapsulation protocol can be run only after the protocol is
encapsulated on the tunnel interface. For example, you can run MPLS TE commands in a tunnel
interface view after the
tunnel-protocol
mpls
te
command is configured on the tunnel interface.
Before using the
tunnel-protocol
mpls
te
command, enable global MPLS and MPLS TE first.
Step 4
Run:
destination
[
vpn-instance
vpn-instance-name
]
dest-ip-address
The destination address is configured for the tunnel.
The parameter
vpn-instance
vpn-instance-name
is valid only for GRE.
Step 5
(Optional) Run:
source
{
source-ip-address
|
loopback
interface-number
}
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.
7