- Table of Contents
-
- 01-Access Volume
- 00-Access Volume Organization
- 01-Ethernet Interface Commands
- 02-Link Aggregation Commands
- 03-Port Isolation Commands
- 04-Service Loopback Group Commands
- 05-DLDP Commands
- 06-Smart Link Commands
- 07-LLDP Commands
- 08-VLAN Commands
- 09-GVRP Commands
- 10-QinQ Commands
- 11-BPDU Tunneling Commands
- 12-VLAN Mapping Commands
- 13-Ethernet OAM Commands
- 14-Connectivity Fault Detection Commands
- 15-EPON OLT Commands
- 16-MSTP Commands
- 17-RRPP Commands
- 18-Mirroring Commands
- Related Documents
-
Title | Size | Download |
---|---|---|
04-Service Loopback Group Commands | 29.33 KB |
Table of Contents
1 Service Loopback Group Configuration Commands
Service Loopback Group Configuration Commands
display service-loopback group
Service Loopback Group Configuration Commands
display service-loopback group
Syntax
display service-loopback group [ number ]
View
Any view
Default Level
1: Monitor level
Parameters
number: ID of the service loopback group to be displayed. The range of the number argument is 1 to 1,024.
Description
Use the display service-loopback group command to display information of the specified service loopback group. If no service loopback group is specified, information of all service loopback groups is displayed.
Examples
# Display information of service loopback group 5.
<Sysname> display service-loopback group 5
Service Group ID: 5 Quote Number: 0
Service Type: tunnel
Member Status
-------------------------------------------------------------------------
Eth2/0/1 Selected
Eth2/0/2 Selected
Table 1-1 display service-loopback group command output description
Field |
Description |
Service Group ID |
Service loopback group ID |
Quote Number |
Reference count of the service loopback group |
Service Type |
Service type of the service loopback group |
Member |
Member ports of the service loopback group |
Status |
Port state, which can be selected or unselected |
port service-loopback group
Syntax
port service-loopback group number
undo port service-loopback group
View
Ethernet interface view
Default Level
2: System level
Parameters
number: Service loopback group ID. The value range for the number argument is 1 to 1,024..
Description
Use the port service-loopback group command to assign the Layer-2 Ethernet interface to the specified service loopback group.
Use the undo port service-loopback group command to remove the Layer-2 Ethernet interface from the specified service loopback group.
Note that you cannot remove the last member port of a referenced service loopback group.
Examples
# Assign Layer-2 Ethernet interface Ethernet 2/0/1 to service loopback group 1.
<Sysname> system-view
[Sysname] interface ethernet 2/0/1
[Sysname-Ethernet2/0/1] port service-loopback group 1
service-loopback group
Syntax
service-loopback group number type { multicast-tunnel | tunnel } *
undo service-loopback group number
View
System view
Default Level
2: System level
Parameters
number: Service loopback group ID. The value range for the number argument is 1 to 1,024..
type: Specifies the service type of a service loopback group.
tunnel: Specifies the service type of a service loopback group as Tunnel.
multicast-tunnel: Specifies the service type of a service loopback group as Multicast tunnel.
Description
Use the service-loopback group command to create a service loopback group or change the service type of an existing service loopback group.
Use the undo service-loopback group command to remove a service loopback group.
Note that:
l A service loopback group can be referenced by other features after its creation. Only after being referenced can a service loopback group process service traffic. A service loopback group can be referenced by multiple features at the same time.
l You can change the service type of an existing service loopback group. For the change to be successful, you must ensure that the service group has not been referenced; the attributes of all member ports (if any) are not conflicting with the target service type; and no service loopback group has been created for the target service type, because only one service loopback group is allowed for a service type.
l You can remove any service loopback group except the referenced ones.
Examples
# Configure service loopback group 1 to support the tunnel service.
<Sysname> system-view
[Sysname] service-loopback group 1 type tunnel