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

mdc-admin

Parameters

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

Usage guidelines

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.

To avoid IRF split, do not assign a port to a service loopback group if that port is the only IRF physical interface of an IRF port.

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 multiple ports to a service loopback group.

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 Ten-GigabitEthernet 1/0/1 to service loopback group 5.

<Sysname> system-view
[Sysname] interface ten-gigabitethernet 1/0/1
[Sysname-Ten-GigabitEthernet1/0/1] port service-loopback group 5