
Operation Manual – GRE
H3C S9500 Series Routing Switches
Chapter 1 GRE Configuration
1-10
[Sysname2-Tunnel4/0/1] source vlan-interface 101
# Configure the destination address for interface Tunnel 4/0/1 (IP address of the VLAN
interface to which GigabitEthernet 4/1/2 of Switch A belongs). Moreover, enable the
expediting function.
[Sysname2-Tunnel4/0/1] destination 192.13.2.1
[Sysname2-Tunnel4/0/1] expediting enable
[Sysname2-Tunnel4/0/1] quit
# Create service loop group 1, setting the configuration mode to manual and the
service type to tunnel.
[Sysname2] link-aggregation group 1 mode manual
[Sysname2] link-aggregation group 1 service-type tunnel
# Configure the tunnel to reference service loop group 1 in tunnel interface view.
[Sysname2] interface tunnel 4/0/1
[Sysname2-Tunnel4/0/1] aggregation-group 1
[Sysname2-Tunnel4/0/1] quit
# Add interface GigabitEthernet 4/1/3 to service loop group 1.
[Sysname2] interface GigabitEthernet 4/1/3
[Sysname2-GigabitEthernet4/1/3] stp disable
[Sysname2-GigabitEthernet4/1/3] port link-aggregation group 1
# Configure a static route from Switch B through interface Tunnel 4/0/1 to Group1.
[Sysname2] ip route-static 10.1.1.0 255.255.255.0 Tunnel 4/0/1
1.4.2 GRE IPv6 over IPv4 Tunnel Configuration Example
I. Network requirements
Switch A and Switch B are interconnected through an IPv4 network. Two IPv6 subnets
Group1 and Group2 are interconnected through a GRE tunnel between Switch A and
Switch B.
II. Network diagram
Figure 1-8
Network diagram for GRE application
III. Configuration procedure
1)
Configure Switch A
# Enter system view.