02-Layer 2-LAN Switching Command Reference

HomeSupportWirelessH3C WX5500E Series Access ControllersReference GuidesCommand ReferencesH3C WX5540E Access Controller Switching Engine Command References(R2607P26)-6W10102-Layer 2-LAN Switching Command Reference
12-Service loopback group configuration commands

display service-loopback group

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

Syntax

display service-loopback group [ number ] [ | { begin | exclude | include } regular-expression ]

Views

Any view

Default command level

1: Monitor level

Parameters

number: Specifies a service loopback group ID, in the range of 1 to 1024. If you do not specify a service loopback group, this command displays information about all service loopback groups.

|: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.

begin: Displays the first line that matches the specified regular expression and all lines that follow.

exclude: Displays all lines that do not match the specified regular expression.

include: Displays all lines that match the specified regular expression.

regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.

Examples

# Display information about service loopback group 5.

<Sysname> display service-loopback group 5

 

Service Group ID:    5        Quote Number: 0

Service Type: tunnel

  Member                                                Status

-------------------------------------------------------------------------

  GE1/0/1                                                Selected

  GE1/0/2                                                Selected

Table 1 Command output

Field

Description

Service Group ID

Service loopback group ID.

Quote Number

Reference count of the service loopback group. If the service loopback group is being referenced by a module, this field does not display zero.

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.

Status

Port state: Selected or Unselected.

 

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 number

undo port service-loopback group

Default

A port does not belong to any service loopback group.

Views

Layer 2 Ethernet interface view

Default command level

2: System level

Parameters

number: Specifies a service loopback group ID, in the range of 1 to 1024.

Usage guidelines

Repeat this command to assign multiple ports to a service loopback group.

You cannot remove the last member port of a referenced service loopback group.

Examples

# Assign interface 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

service-loopback group

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

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

Syntax

service-loopback group number type { multicast-tunnel | tunnel } *

undo service-loopback group number

Views

System view

Default command level

2: System level

Parameters

number: Specifies a service loopback group ID, in the range of 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.

Usage guidelines

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

You can change the service type of an existing service loopback group. For the change to be successful, verify the following conditions:

·           The service group has not been referenced.

·           The attributes of all member ports are not conflicting with the target service type.

·           No service loopback group has been created for the target service type, because only one service loopback group is allowed for a service type.

You cannot remove a service loopback group that is referenced by other features.

Examples

# Configure service loopback group 5 and specify its service type as Tunnel.

<Sysname> system-view

[Sysname] service-loopback group 5 type tunnel

 

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