Huawei quidway s7700 Configuration Manual page 77

Smart routing switch
Hide thumbs Also See for quidway s7700:
Table of Contents

Advertisement

Quidway S7700 Smart Routing Switch
Configuration Guide - VPN
Context
Do as follows on switchs on the two ends of a tunnel:
Procedure
Step 1 Run:
system-view
The system view is displayed.
Step 2 Run:
interface tunnel interface-number
A tunnel interface is created and the tunnel interface view is displayed.
Step 3 Run:
tunnel-protocol gre
The tunnel is encapsulated with GRE.
Step 4 Run:
source { source-ip-address | interface-type interface-number }
The source address or source interface of the tunnel is configured.
Step 5 Run:
destination [ vpn-instance vpn-instance-name ] ip-address
The destination address of the tunnel is configured.
After a tunnel interface is created, you need to specify the source address or source interface and
destination address of the tunnel. The source address is the IP address of the loopback interface
that sends GRE packets, whereas the destination address is the IP address of the loopback
interface that receives the GRE packets.
Step 6 (Optional) Run:
mtu mtu
The Maximum Transmission Unit (MTU) of the tunnel interface is modified.
The new MTU takes effect only after you run the shutdown command and then the undo
shutdown command on the interface.
Step 7 Choose one of the following commands to configure the IP address of the tunnel interface.
l Run the ip address ip-address { mask | mask-length } [ sub ] command to configure the IP
l Run the ip address unnumbered interface interface-type interface-number command to
To support dynamic routing protocols on a tunnel, you must configure a network address for the
tunnel interface. The network address of the tunnel interface may not be a public address, but
should be in the same network segment on both ends of the tunnel.
Issue 01 (2011-07-15)
NOTE
The source interface of a GRE tunnel cannot be configured as the management network port, and the source
address of the tunnel cannot be configured as the IP address of the management network port.
address of the tunnel interface.
configure IP unnumbered for the tunnel interface.
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
2 GRE Configuration
62

Advertisement

Table of Contents
loading

Table of Contents