- Table of Contents
-
- 03-Layer 2—LAN Switching Command Reference
- 00-Preface
- 01-MAC address table commands
- 02-Bulk interface commands
- 03-Ethernet interface commands
- 04-Ethernet link aggregation commands
- 05-M-LAG commands
- 06-Port isolation commands
- 07-VLAN commands
- 08-MVRP commands
- 09-Loopback, null, and inloopback interface commands
- 10-QinQ commands
- 11-VLAN mapping commands
- 12-Loop detection commands
- 13-Spanning tree commands
- 14-LLDP commands
- 15-L2PT commands
- 16-Service loopback group commands
- 17-Layer 2 forwarding commands
- Related Documents
-
Title | Size | Download |
---|---|---|
16-Service loopback group commands | 59.30 KB |
Service loopback group commands
display service-loopback group
Use display service-loopback group to display service loopback group information.
Syntax
display service-loopback group [ group-id ]
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
group-id: Specifies a service loopback group 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
Group ID: 5 Service type: Tunnel
Member Status
HundredGigE1/0/1 Selected
HundredGigE1/0/2 Unselected
Table 1 Command output
Field |
Description |
Group ID |
Service loopback group ID. |
Service type |
Service type of the service loopback group: · Inter-VPN-fwd—Supports inter-VPN forwarding services. · Multicast-tunnel—Supports multicast tunnel services. · Tunnel—Supports unicast tunnel services. · Multiport—Supports multiport ARP services. · VSI-gateway—Supports VSI gateway services. · Telemetry-stream—Supports Telemetry streaming services. |
Member |
Member ports of the service loopback group. |
Status |
Member port state: · Unselected—The port is in Unselected state. An unselected port cannot forward traffic of the service type. · Selected—The port is in Selected state. A selected port can forward traffic of the service type. |
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 a service loopback group.
Views
Layer 2 Ethernet interface view
Predefined user roles
network-admin
Parameters
group-id: Specifies a service loopback group ID. The value range for the group-id argument is 1 to 1024.
Usage guidelines
CAUTION: · When you assign a port to a service loopback group, the system removes the configuration on the port. Make sure you are fully aware of the impact of this command before using it on a live network. · Do not execute this command on an IRF physical interface if that interface is the only member interface of an IRF port. Doing so will split the IRF fabric, because this command also removes the binding of the physical interface and IRF 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. |
Before assigning a port to a service loopback group, make sure the port supports the service type of the group.
A port can belong to only one service loopback group. You can assign a maximum of 32 ports to a service loopback group.
Examples
# Assign HundredGigE 1/0/1 to service loopback group 5.
<Sysname> system-view
[Sysname] interface hundredgige 1/0/1
[Sysname-HundredGigE1/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 delete a service loopback group.
Syntax
service-loopback group group-id type { inter-vpn-fwd | { multicast-tunnel | tunnel } * | multiport | telemetry-stream | vsi-gateway }
undo service-loopback group group-id
Default
No service loopback groups exist.
Views
System view
Predefined user roles
network-admin
Parameters
group-id: Specifies a service loopback group ID. The value range for the group-id argument is 1 to 1024.
type: Specifies the service type of the service loopback group.
inter-vpn-fwd: Specifies inter-VPN forwarding services.
multicast-tunnel: Specifies multicast tunnel services.
tunnel: Specifies unicast tunnel services.
multiport: Specifies multiport ARP services.
telemetry-stream: Specifies Telemetry streaming services.
vsi-gateway: Specifies VSI gateway services.
Usage guidelines
Service loopback groups must work with other features. 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 unicast tunnel services for the group.
<Sysname> system-view
[Sysname] service-loopback group 5 type tunnel