- 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 | 44.82 KB |
Configuring service loopback groups
Displaying and maintaining service loopback groups
Service loopback group configuration example
Configuring service loopback groups
A service loopback group provides one of the following services:
· Tunnel—Supports unicast tunnel traffic.
· Multicast tunnel—Supports multicast tunnel traffic.
You can configure only one service loopback group for a service type. However, you can use one service loopback group with multiple features.
Member ports in a service loopback group are load balanced.
Configuration procedure
Follow these guidelines when you configure a service loopback group:
· As a best practice, 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 cannot change the service type of a service loopback group.
· 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.
To configure 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. The multiport and vsi-gateway keywords are not supported in the current software version. |
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 Ten-GigabitEthernet 1/1/1 through Ten-GigabitEthernet 1/1/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 Ten-GigabitEthernet 1/1/1 through Ten-GigabitEthernet 1/1/3 to service loopback group 1.
[DeviceA] interface ten-gigabitethernet 1/1/1
[DeviceA-Ten-GigabitEthernet1/1/1] port service-loopback group 1
All configurations on the interface will be lost. Continue?[Y/N]:y
[DeviceA-Ten-GigabitEthernet1/1/1] quit
[DeviceA] interface ten-gigabitethernet 1/1/2
[DeviceA-Ten-GigabitEthernet1/1/2] port service-loopback group 1
All configurations on the interface will be lost. Continue?[Y/N]:y
[DeviceA-Ten-GigabitEthernet1/1/2] quit
[DeviceA] interface ten-gigabitethernet 1/1/3
[DeviceA-Ten-GigabitEthernet1/1/3] port service-loopback group 1
All configurations on the interface will be lost. Continue?[Y/N]:y
[DeviceA-Ten-GigabitEthernet1/1/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]