- Table of Contents
-
- 02-Layer 2-LAN Switching Command Reference
- 00-Preface
- 01-Ethernet interface configuration commands
- 02-Loopback and null interface configuration commands
- 03-Bulk interface configuration commands
- 04-MAC address table configuration commands
- 05-Ethernet link aggregation configuration commands
- 06-Port isolation configuration commands
- 07-Spanning tree configuration commands
- 08-BPDU tunneling configuration commands
- 09-VLAN configuration commands
- 10-GVRP configuration commands
- 11-LLDP configuration commands
- 12-Service loopback group configuration commands
- 13-MVRP commands
- Related Documents
-
Title | Size | Download |
---|---|---|
12-Service loopback group configuration commands | 68.37 KB |
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