- Table of Contents
-
- 04-Layer 2—LAN Switching Configuration Guide
- 00-Preface
- 01-MAC address table configuration
- 02-Ethernet link aggregation configuration
- 03-VLAN configuration
- 04-VLAN mapping configuration
- 05-Loop detection configuration
- 06-Spanning tree configuration
- 07-LLDP configuration
- 08-Service loopback group configuration
- 09-MVRP configuration
- 10-PFC configuration
- 11-Cut-through Layer 2 forwarding configuration
- Related Documents
-
Title | Size | Download |
---|---|---|
08-Service loopback group configuration | 50.78 KB |
Configuring service loopback groups
Restrictions and guidelines: Service loopback group configuration
Configuring a service loopback group
Verifying and maintaining service loopback groups
Service loopback group configuration examples
Example: Configuring a service loopback group
Configuring service loopback groups
About service loopback groups
A service loopback group provides the unicast tunnel service.
Restrictions and guidelines: Service loopback group configuration
When you add ports to a service loopback group, make sure the ports support the service type of that group and are not members of any other service loopback group.
When you apply service loopback groups to features, follow these restrictions and guidelines:
· One service loopback group can be used by multiple features.
· Do not delete a service loopback group that is being used by a feature.
Configuring a service loopback group
1. Enter system view.
system-view
2. Create a service loopback group and specify its service type.
service-loopback group group-id type tunnel
3. Enter Layer 2 Ethernet interface view.
interface interface-type interface-number
4. Assign the port to the service loopback group.
port service-loopback group group-id
By default, a port does not belong to a service loopback group.
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. · 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. |
You can assign a maximum of 256 ports to a service loopback group.
Verifying and maintaining service loopback groups
To display information about service loopback groups, execute the following command in any view:
display service-loopback group [ group-id ]
Service loopback group configuration examples
Example: Configuring a service loopback group
Network configuration
All Ethernet ports on the device 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.
Prerequisites
By default, interfaces on the device are disabled (in ADM or Administratively Down state). To have an interface operate, you must use the undo shutdown command to enable that interface.
Procedure
# Create service loopback group 1, and specify its service type as tunnel.
<Sysname> system-view
[Sysname] service-loopback group 1 type tunnel
# Assign HundredGigE 1/0/1 through HundredGigE 1/0/3 to service loopback group 1.
[Sysname] interface hundredgige 1/0/1
[Sysname-HundredGigE1/0/1] port service-loopback group 1
All configurations on the interface will be lost. Continue?[Y/N]:y [Sysname-HundredGigE1/0/1] quit
[Sysname] interface hundredgige 1/0/2
[Sysname-HundredGigE1/0/2] port service-loopback group 1
All configurations on the interface will be lost. Continue?[Y/N]:y [Sysname-HundredGigE1/0/2] quit
[Sysname] interface hundredgige 1/0/3
[Sysname-HundredGigE1/0/3] port service-loopback group 1
All configurations on the interface will be lost. Continue?[Y/N]:y [Sysname-HundredGigE1/0/3] quit
# Create the interface Tunnel 1 and set it to GRE mode. The interface will automatically use service loopback group 1.
[Sysname] interface tunnel 1 mode gre
[Sysname-Tunnel1]