03-Layer 2-LAN Switching Configuration Guide

HomeSupportSwitchesH3C S5130 Switch SeriesConfigure & DeployConfiguration GuidesH3C S5130-HI Configuration Guides-R1118P02[R1122]-6W10203-Layer 2-LAN Switching Configuration Guide
14-Service loopback group configuration
Title Size Download
14-Service loopback group configuration 44.72 KB

Configuring service loopback groups

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.

·     MultiportSupports multiport ARP traffic.

The device supports only one service loopback group for each service type. You can use a 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:

·     Ports bound to IRF ports cannot be assigned to service loopback groups.

·     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, follow these guidelines:

?     Make sure the service loopback group has a minimum of one member port when it is being used by a feature.

?     Do not delete the service loopback group 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 number type { {multicast-tunnel | tunnel } *| multiport }

N/A

3.     Enter Layer 2 Ethernet interface view.

interface interface-type interface-number

N/A

4.     Assign a port to the service loopback group.

port service-loopback group number

By default, a service loopback group does not contain ports.

You can assign a maximum of 8 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 [ number ]

 

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

[DeviceA-GigabitEthernet1/0/1] quit

[DeviceA] interface gigabitethernet 1/0/2

[DeviceA-GigabitEthernet1/0/2] port service-loopback group 1

[DeviceA-GigabitEthernet1/0/2] quit

[DeviceA] interface gigabitethernet 1/0/3

[DeviceA-GigabitEthernet1/0/3] port service-loopback group 1

[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]

  • Cloud & AI
  • InterConnect
  • Intelligent Computing
  • Intelligent Storage
  • Security
  • SMB Products
  • Intelligent Terminal Products
  • Product Support Services
  • Technical Service Solutions
All Services
  • Resource Center
  • Policy
  • Online Help
  • Technical Blogs
All Support
  • Become A Partner
  • Partner Policy & Program
  • Global Learning
  • Partner Sales Resources
  • Partner Business Management
  • Service Business
All Partners
  • Profile
  • News & Events
  • Online Exhibition Center
  • Contact Us
All About Us
新华三官网