You are on page 1of 4

Contents

Configuring service loopback groups ······························································ 1 


Overview ···························································································································································· 1 
Configuration restrictions and guidelines ··········································································································· 1 
Configuring a service loopback group ················································································································ 2 
Displaying and maintaining service loopback groups ························································································ 2 
Service loopback group configuration example ································································································· 2 
Network requirements ································································································································ 2 
Configuration procedure····························································································································· 2 

i
Configuring service loopback groups
Overview
A service loopback group contains one or multiple Ethernet ports for looping packets sent out by the
device back to the device. This feature must work with other features, such as GRE.
A service loopback group provides one of the following services:
• Tunnel—Supports unicast tunnel traffic.
• Multicast tunnel—Supports multicast tunnel traffic.
Member ports in a service loopback group are load balanced.

Configuration restrictions and guidelines


When you configure service loopback groups, follow these restrictions and guidelines:
• The maximum number of service loopback groups and the maximum number of member ports
allowed in a service loopback group vary by location of member ports, as shown in the following
matrix:

Maximum number
Maximum number
of member ports in
Member port location of service loopback
an service loopback
groups
group

Some member ports


or the ingress ports • LSQ1FWBSC0.
of the traffic are on • LSQ1LBSC0. 128 8
any of these OAP
• LSQ1NSMSC0.
modules.
• LSQ2FWBSC0.
No service loopback • LSU1FWCEA0.
group contains
member ports on • LSU3FWCEA0. 1024 32
any of these OAP • LSU3WCMD0.
modules.

• Assign ports with the same rate to the same service loopback group for load balancing.
• Make sure the ports you are assigning to a service loopback group meet the following
requirements:
{ The ports are not used for any other purposes. The configuration on a port is removed when
it is assigned to a service loopback group.
{ The ports support the service type of the service loopback group and are not members of
any other service loopback group.
• You can configure only one service loopback group for a service type. However, you can use
one service loopback group with multiple features.
• Do not change the service type of a service loopback group.
• Do not delete a service loopback group that is being used by a feature.
• For correct traffic processing, make sure a service loopback group has a minimum of one
member port when it is being used by a feature.

1
Configuring a service loopback group
Step Command Remarks
1. Enter system view. system-view N/A
By default, no service loopback
service-loopback group groups exist.
2. Create a service loopback
group and specify its service group-id type In the current software version,
type. { { multicast-tunnel | tunnel } * | the device does not support the
multiport | vsi-gateway } multiport and vsi-gateway
keywords.
3. Enter Layer 2 Ethernet interface interface-type
interface view. N/A
interface-number
4. Assign the port to the service port service-loopback group By default, a port does not belong
loopback group. group-id to any service loopback group.

Displaying and maintaining service loopback


groups
Execute display commands in any view.

Task Command

Display information about service loopback


display service-loopback group [ group-id ]
groups.

Service loopback group configuration example


Network requirements
All Ethernet ports on Device A support the tunnel service. Assign GigabitEthernet 1/0/1 through
GigabitEthernet 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 GigabitEthernet 1/0/1 through GigabitEthernet 1/0/3 to service loopback group 1.


[DeviceA] interface gigabitethernet 1/0/1
[DeviceA-GigabitEthernet1/0/1] port service-loopback group 1
All configurations on the interface will be lost. Continue?[Y/N]:y
[DeviceA-GigabitEthernet1/0/1] quit
[DeviceA] interface gigabitethernet 1/0/2
[DeviceA-GigabitEthernet1/0/2] port service-loopback group 1

2
All configurations on the interface will be lost. Continue?[Y/N]:y
[DeviceA-GigabitEthernet1/0/2] quit
[DeviceA] interface gigabitethernet 1/0/3
[DeviceA-GigabitEthernet1/0/3] port service-loopback group 1
All configurations on the interface will be lost. Continue?[Y/N]:y
[DeviceA-GigabitEthernet1/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]

You might also like