- Table of Contents
-
- 04-Layer 2 - LAN Switching Configuration Guide
- 00-Preface
- 01-MAC address table configuration
- 02-Ethernet link aggregation configuration
- 03-Port isolation configuration
- 04-Spanning tree configuration
- 05-Loop detection configuration
- 06-VLAN configuration
- 07-MVRP configuration
- 08-QinQ configuration
- 09-VLAN mapping configuration
- 10-LLDP configuration
- 11-Service loopback group configuration
- Related Documents
-
Title | Size | Download |
---|---|---|
11-Service loopback group configuration | 48.54 KB |
Configuring service loopback groups
Configuration restrictions and guidelines
Configuring a service loopback group
Displaying and maintaining service loopback groups
Service loopback group configuration example
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:
Member port location |
Maximum number of service loopback groups |
Maximum number of member ports in a service loopback group |
|
Some member ports or the ingress ports of the traffic are on any of these modules. |
· EA interface modules. · EB interface modules. · SC interface module: LSU1TGS16SC0. · . · SE interface modules: ? LSU1GP24TSE0. ? LSU1GP24TXSE0. ? LSU1GP48SE0. ? LSU1GT48SE0. ? LSU1TGS8SE0. ? LSU1TGX4SE0. · OAP modules: ? LSQ1FWBSC0. ? LSQ1LBSC0. ? LSQ1NSMSC0. ? LSQ1WCMD0. ? LSQ2FWBSC0. ? LSU1FWCEA0. ? LSU3FWCEA0. ? LSU3WCMD0. |
128 |
8 |
No service loopback group contains member ports on any of these modules. |
1024 |
32 |
· 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.
Configuring a service loopback group
Step |
Command |
Remarks |
1. Enter system view. |
system-view |
N/A |
2. Create a service loopback group and specify its service type. |
service-loopback group group-id type { { multicast-tunnel | tunnel } * | multiport | vsi-gateway } |
By default, no service loopback groups exist. In the current software version, the device does not support the multiport and vsi-gateway keywords. |
3. Enter Layer 2 Ethernet interface view. |
interface interface-type interface-number |
N/A |
4. Assign the port to the service loopback group. |
port service-loopback group group-id |
By default, a port does not belong to any service loopback group. |
Displaying and maintaining service loopback groups
Execute display commands in any view.
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 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
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]