02-Layer 2-LAN Switching Configuration Guide

HomeSupportResource CenterSwitchesS12500R SeriesS12500R SeriesTechnical DocumentsConfigure & DeployConfiguration GuidesH3C S12500R Switch Router Series Configuration Guides(R3606)-6W10002-Layer 2-LAN Switching Configuration Guide
12-Service loopback group configuration
Title Size Download
12-Service loopback group configuration 52.97 KB

Configuring service loopback groups

About 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. Member ports in a service loopback group are load balanced.

A service loopback group provides one of the following services:

·     Tunnel—Supports unicast tunnel services.

·     Multicast tunnel—Supports multicast tunnel services.

·     VSI gateway—Supports VSI gateway services.

Restrictions and guidelines: Service loopback group configuration

When you add member ports to a service loopback group, follow these restrictions and guidelines:

·     Make sure the ports support the service type of the service loopback group and are not members of any other service loopback group.

·     The configuration on a port is removed when it is assigned to the service loopback group.

·     For correct traffic processing, make sure the service loopback group has a minimum of one member port when it is being used by a feature.

When you apply service loopback groups to features, follow these restrictions and guidelines:

·     One service loopback group can be used by multiple features.

·     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.

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 { { multicast-tunnel | tunnel } * | vsi-gateway }

You can configure only one service loopback group for a service type.

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.

You can assign multiple ports to a service loopback group.

Display and maintenance commands for 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 examples

Example: Configuring a service loopback group

Network configuration

All Ethernet ports on the device support unicast tunnel services. 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.

Procedure

IMPORTANT

IMPORTANT:

·     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.

·     In this example, the physical interfaces must operate in Layer 2 mode. By default, physical interfaces on the device operate in Layer 3 mode. To have a physical interface operate in Layer 2 mode, use the port link-mode command to change the mode of the physical interface to Layer 2.

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

 

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