3Com Switch 8800 Advanced Software V5 Configuration Guide

416 CHAPTER 34: GRE CONFIGURATION
[Sysname2-Vlan-interface101] ip address 131.108.5.2 255.255.255.0
[Sysname2-Vlan-interface101] quit
# Create an interface named Tunnel 4/0/1.
[Sysname2] interface tunnel 4/0/1
# Configure an IPv6 address for interface Tunnel 4/0/1.
[Sysname2-Tunnel4/0/1] ipv6 address 2001::1:2 64
# Configure the tunnel encapsulation mode.
[Sysname2-Tunnel4/0/1] tunnel-protocol gre
# Configure the source address of interface Tunnel 4/0/1 to be the IP address of
the Vlan interface to which GigabitEthernet 4/1/2 belongs.
[Sysname2-Tunnel4/0/1] source vlan-interface 101
# Configure the destination address of interface Tunnel 4/0/1 to be the IP address
of the Vlan interface to which GigabitEthernet 4/1/2 of Switch 1 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
# Add 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
# Apply service loop group 1 to the tunnel in tunnel interface view.
[Sysname2-GigabitEthernet4/1/3] quit
[Sysname2] interface tunnel 4/0/1
[Sysname2-Tunnel4/0/1] aggregation-group 1
[Sysname2-Tunnel4/0/1] quit
# Configure a static route from Switch 2 through interface Tunnel 4/0/1 to
Group1.
[Sysname2] ipv6 route-static 2002::0 64 Tunnel 4/0/1
Troubleshooting GRE The GRE configurations are relatively simple. The key is to keep the configurations
consistent. Most faults can be located by using the debugging gre or
debugging tunnel command. This section analyzes only one type of fault, as
shown in
Figure 130. Switch 1 connects to Switch 2 via an IPv4 network. PC A and