191
Task Command
Display information about service loopback groups.
display service-loopback group
[
group-id
]
Service loopback group configuration example
Network requirements
All Ethernet ports on Device A support the tunnel service. Assign HundredGigE 1/0/1 through
HundredGigE 1/0/3 to a service loopback group to loop GRE packets sent out by the device back to
the device.
Configuration procedure
# Create service loopback group 1, and specify its service type as
tunnel
.
<DeviceA> system-view
[DeviceA] service-loopback group 1 type tunnel
# Assign HundredGigE 1/0/1 through HundredGigE 1/0/3 to service loopback group 1.
[DeviceA] interface hundredgige 1/0/1
[DeviceA-HundredGigE1/0/1] port service-loopback group 1
All configurations on the interface will be lost. Continue?[Y/N]:y
[DeviceA-HundredGigE1/0/1] quit
[DeviceA] interface hundredgige 1/0/2
[DeviceA-HundredGigE1/0/2] port service-loopback group 1
All configurations on the interface will be lost. Continue?[Y/N]:y
[DeviceA-HundredGigE1/0/2] quit
[DeviceA] interface hundredgige 1/0/3
[DeviceA-HundredGigE1/0/3] port service-loopback group 1
All configurations on the interface will be lost. Continue?[Y/N]:y
[DeviceA-HundredGigE1/0/3] quit
# Create the interface Tunnel 1 and set it to GRE mode. The interface will automatically use service
loopback group 1.
[DeviceA] interface tunnel 1 mode gre
[DeviceA-Tunnel1]