04-Layer 2 - LAN Switching Command Reference

HomeSupportSwitchesH3C S7500E Switch SeriesReference GuidesCommand ReferencesH3C S7500E Switch Series Command References-Release7178-6W10004-Layer 2 - LAN Switching Command Reference
11-Service loopback group commands
Title Size Download
11-Service loopback group commands 40.17 KB

Service loopback group commands

display service-loopback group

Use display service-loopback group to display information about service loopback groups.

Syntax

display service-loopback group [ group-id ]

Views

Any view

Predefined user roles

network-admin

network-operator

mdc-admin

mdc-operator

Parameters

group-id: Specifies a service loopback group by its ID. The value range for the group-id argument is 1 to 1024. If you do not specify a service loopback group, this command displays information about all service loopback groups.

Examples

# Display information about service loopback group 5.

<Sysname> display service-loopback group 5

 

Service Group ID: 5       Service Type: Tunnel

Member:

 GigabitEthernet1/0/1

 GigabitEthernet1/0/2

Table 1 Command output

Field

Description

Service Group ID

Service loopback group ID.

Service Type

Service type of the service loopback group:

·     Multicast-tunnel—Supports multicast tunnel traffic.

·     Tunnel—Supports unicast tunnel traffic.

Member

Member ports of the service loopback group.

 

port service-loopback group

Use port service-loopback group to assign a port to a service loopback group.

Use undo port service-loopback group to remove a port from a service loopback group.

Syntax

port service-loopback group group-id

undo port service-loopback group

Default

A port does not belong to any service loopback group.

Views

Layer 2 Ethernet interface view

Predefined user roles

network-admin

mdc-admin

Parameters

group-id: Specifies a service loopback group by its ID. The value range for the group-id argument is 1 to 1024.

Usage guidelines

Before assigning a port to a service loopback group, make sure the port supports the service type of the group.

You can assign multiple ports to a service loopback group. A port can belong to only one service loopback group.

When you assign a port to a service loopback group, the system removes the configuration on the 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.

Examples

# Assign GigabitEthernet 1/0/1 to service loopback group 5.

<Sysname> system-view

[Sysname] interface gigabitethernet 1/0/1

[Sysname-GigabitEthernet1/0/1] port service-loopback group 5

All configurations on the interface will be lost. Continue?[Y/N]:y

service-loopback group

Use service-loopback group to create a service loopback group and specify its service type.

Use undo service-loopback group to delete a service loopback group.

Syntax

service-loopback group group-id type { { multicast-tunnel | tunnel } * | multiport | vsi-gateway }

undo service-loopback group group-id

Default

No service loopback groups exist.

Views

System view

Predefined user roles

network-admin

mdc-admin

Parameters

group-id: Specifies a service loopback group by its ID. The value range for the group-id argument is 1 to 1024.

type: Specifies the service type of the service loopback group.

multicast-tunnel: Specifies the multicast tunnel service.

tunnel: Specifies the unicast tunnel service.

multiport: Specifies the multiport ARP service. In the current software version, the device does not support this keyword.

vsi-gateway: Specifies the VSI gateway service. In the current software version, the device does not support this keyword.

Usage guidelines

Service loopback groups must work with other features, such as GRE. A service loopback group can be used by multiple features.

You must create a service loopback group before you can use it with a feature.

You can configure only one service loopback group for a service type. You cannot change the service type of a service loopback group.

To ensure correct traffic processing, do not delete a service loopback group that is being used by a feature.

Examples

# Create service loopback group 5 and specify the unicast tunnel service for the group.

<Sysname> system-view

[Sysname] service-loopback group 5 type tunnel

  • 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
新华三官网