Step 3 Run:
tunnel-protocol gre
The tunnel is encapsulated as a GRE tunnel.
Step 4 Run:
The source address or source interface of the tunnel interface is configured.
NOTE
The virtual IP address of the VRRP backup group can be configured as the source address of the GRE
tunnel.
Step 5 Run:
destination ip-address
The destination address of the tunnel interface is configured.
Step 6 (Optional) Run:
mtu mtu
The MTU of the interface can be modified. The new MTU takes effect only after you run the
shutdown and the undo shutdown commands in succession 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
address of the tunnel interface.
l Run the ip address unnumbered interface interface-type interface-number command to
configure IP unnumbered for the tunnel interface.
----End
2.4.3 Configuring the GRE Tunnel Interface on PE
After creating a tunnel interface on a PE, 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 PE is the destination
address of the tunnel specified on the CE. The destination address of the tunnel specified on the
PE is the source address of the tunnel specified on the CE.
Context
Do as follows on the PE:
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:
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.
67