04-Layer 2 - LAN Switching Configuration Guide

HomeSupportSwitchesS7500E SeriesConfigure & DeployConfiguration GuidesH3C S7500E Switch Series Configuration Guides-R757X-GL-6W10004-Layer 2 - LAN Switching Configuration Guide
13-Service loopback group configuration
Title Size Download
13-Service loopback group configuration 45.98 KB

Configuring service loopback groups

Overview

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.

Member ports in a service loopback group are load balanced.

Configuration restrictions and guidelines

When you configure service loopback groups, follow these restrictions and guidelines:

·     The device supports a maximum of 1000 loopback groups and 32 member ports per group.

·     Assign ports with the same rate to the same service loopback group for load balancing.

·     To avoid IRF split, do not assign a physical interface to a service loopback group if that interface is the only member interface of an IRF port.

·     In an IRF 3.1 system, ports on PEXs 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 can configure only one service loopback group for a service type. However, you can use one service loopback group with 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.

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

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

In the current software version, the device does not support the multiport and vsi-gateway keywords.

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 multiple 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 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

All configurations on the interface will be lost. Continue?[Y/N]:y [DeviceA-GigabitEthernet1/0/1] quit

[DeviceA] interface gigabitethernet 1/0/2

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

All configurations on the interface will be lost. Continue?[Y/N]:y [DeviceA-GigabitEthernet1/0/2] quit

[DeviceA] interface gigabitethernet 1/0/3

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

All configurations on the interface will be lost. Continue?[Y/N]:y [DeviceA-GigabitEthernet1/0/3] quit

# Create GRE tunnel interface Tunnel 1. The interface will automatically use service loopback group 1.

[DeviceA] interface tunnel 1 mode gre

[DeviceA-Tunnel1]

  • Cloud & AI
  • InterConnect
  • Intelligent 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
新华三官网