- Table of Contents
-
- 03-Layer 2—LAN Switching Configuration Guide
- 00-Preface
- 01-Ethernet interface configuration
- 02-Loopback, null, and inloopback interface configuration
- 03-Bulk interface configuration
- 04-MAC address table configuration
- 05-Ethernet link aggregation configuration
- 06-Port isolation configuration
- 07-Spanning tree configuration
- 08-Loop detection configuration
- 09-VLAN configuration
- 10-MVRP configuration
- 11-QinQ configuration
- 12-VLAN mapping configuration
- 13-PBB configuration
- 14-LLDP configuration
- 15-L2PT configuration
- 16-Service loopback group configuration
- 17-Cut-through forwarding configuration
- 18-DRNI configuration
- Related Documents
-
Title | Size | Download |
---|---|---|
16-Service loopback group configuration | 54.06 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.
· Multiport—Supports multiport ARP traffic.
· VSI gateway—Supports VSI gateway 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
|
CAUTION: · The configuration on a port is removed when it is assigned to a service loopback group. Make sure you fully understand the impact on your network when you assign a port to a service loopback group. · Do not assign a physical interface to the service loopback group if that interface is the only member interface of an IRF port. Doing so will split the IRF fabric, because the assignment operation removes the binding of the physical interface and IRF port. · 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. |
Follow these guidelines when you configure a service loopback group:
· 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 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.
· Do not delete a service loopback group that 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. |
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. You can assign a maximum of 32 ports to a 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/0/1 through Ten-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 Ten-GigabitEthernet 1/0/1 through Ten-GigabitEthernet 1/0/3 to service loopback group 1.
[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 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]