1-9
configuration command once on one port and that configuration will apply to all ports in the port group.
This effectively reduces redundant configurations.
A Port group could be manually created by users. Multiple Ethernet ports can be added to the same port
group but one Ethernet port can only be added to one port group.
Follow these steps to configure a port group:
To do… Use the command… Remarks
Enter system view
system-view
—
Create a port group or enter the specified port
group view
port-group group-id
Required
Add an Ethernet port to a specified port group
port interface-list
Required
A port can not be added to a port group if it has been added to an aggregation group, and vice versa.
Setting Loopback Detection for an Ethernet Port
Loopback detection is used to monitor if loopback occurs on a port.
After you enable loopback detection on Ethernet ports, the device can monitor if external loopback
occurs on them. If there is a loopback port found, the device will put it under control.
z If loopback is found on an access port, the system disables the port, sends a Trap message to the
client and removes the corresponding MAC forwarding entry.
z If loopback is found on a trunk or hybrid port, the system sends a Trap message to the client. When
the loopback port control function is enabled on these ports, the system disables the port, sends a
Trap message to the client and removes the corresponding MAC forwarding entry.
Follow these steps to set loopback detection for an Ethernet port:
To do… Use the command… Remarks
Enter system view
system-view
—
Enable loopback detection
globally
loopback-detection enable
Required
By default, loopback detection
is disabled globally.
Set time interval for port
loopback detection
loopback-detection
interval-time time
Optional
The default interval is 30
seconds.
Enter Ethernet port view
interface interface-type
interface-number
—
Enable loopback detection on a
specified port
loopback-detection enable
Required
By default, port loopback
detection is disabled.
Enable loopback port control on
the trunk or hybrid port
loopback-detection control
enable
Optional
By default, loopback port
control is not enabled.