Customer requirements:
Configure a GRE tunnel to achieve intranet communication at both ends.
Issus description:
After the S6900-54QF-F was configured GRE tunnel, both the protocol and the physical status were Down, but the source and destination addresses of the tunnel ports on both ends can ping from each other.
Key configuration:
On the 2 ends of the GRE tunnel.
Device A
#
interface Tunnel2 mode gre
ip address 172.20.20.6 255.255.255.252
source 119.xxx.xxx.172
destination 183.xxx.xxx.250
#
Device B
#
interface Tunnel2 mode gre
ip address 172.20.20.5 255.255.255.252
source 183.xxx.xxx.250
destination 119.xxx.xxx.172
Debug tunnel event and find the hardware resources are insufficient
* Jul 3 19: 13: 22: 282 2018 GD-DG-LB-BR-6900-1 TUNNEL / 7 / event:
Tunnel2 can"t come up because there is no enough hardware resource.
* Jul 3 19: 13: 27: 281 2018 GD-DG-LB-BR-6900-1 TUNNEL / 7 / event:
Processing result of operation 2 for Tunnel2: failed.
* Jul 3 19: 13: 27: 282 2018 GD-DG-LB-BR-6900-1 TUNNEL / 7 / event:
Reason:
the service loopback group is not configured. You need to create a service loopback group with the service type Tunnel and add an unused Layer 2 Ethernet interface (the physical status doesn’t matter) on the device to the service loopback group.
The specific configuration is as follows:
Service Loopback Group Configuration Example
1.Network requirements
All Ethernet ports on Device A support the tunnel service type. Ports Ten-GigabitEthernet 1/0/1 to Ten-GigabitEthernet 1/0/3 are added to the service loopback group to support the tunnel service type.
2. Configuration steps
# Create service loopback group 1 and specify its service type as Tunnel.
[DeviceA] service-loopback group 1 type tunnel
# Add ports Ten-GigabitEthernet1 / 0/1 to Ten-GigabitEthernet1 / 0/3 to service loopback group 1 respectively.
[DeviceA] interface ten-gigabitethernet 1/0/1
[DeviceA-Ten-GigabitEthernet1 / 0/1] port service-loopback group 1
All configurations on the interface will be lost. Continue? [Y / N]: y
[DeviceA-Ten-GigabitEthernet1 / 0/1] quit
[DeviceA] interface ten-gigabitethernet 1/0/2
[DeviceA-Ten-GigabitEthernet1 / 0/2] port service-loopback group 1
All configurations on the interface will be lost. Continue? [Y / N]: y
[DeviceA-Ten-GigabitEthernet1 / 0/2] quit
[DeviceA] interface ten-gigabitethernet 1/0/3
[DeviceA-Ten-GigabitEthernet1 / 0/3] port service-loopback group 1
All configurations on the interface will be lost. Continue? [Y / N]: y
[DeviceA-Ten-GigabitEthernet1 / 0/3] quit
# Create Tunnel interface 1 in GRE mode, which will automatically reference service loopback group 1.
[DeviceA] interface tunnel 1 mode gre
………………………………