1-4 
To do...  Use the command...  Remarks 
Enable flow control on the 
Ethernet port  
flow-control 
By default, flow control is not 
enabled on the port.  
 
Duplicating the Configuration of a Port to Other Ports 
To make other ports have the same configuration as that of a specific port, you can duplicate the 
configuration of a port to specific ports.  
Specifically, the following types of port configuration can be duplicated from one port to other ports: 
VLAN configuration, protocol-based VLAN configuration, LACP configuration, QoS configuration, 
GARP configuration, STP configuration and initial port configuration. Refer to the command manual for 
the configurations that can be duplicated. 
Follow these steps to duplicate the configuration of a port to specific ports: 
To do...  Use the command...  Remarks 
Enter system view  
system-view 
— 
Duplicate the 
configuration of a port to 
specific ports  
copy configuration source { interface-type 
interface-number | aggregation-group 
source-agg-id } destination { interface-list 
[ aggregation-group destination-agg-id ] | 
aggregation-group destination-agg-id } 
Required 
 
 
z  If you specify a source aggregation group ID, the system will use the port with the smallest port 
number in the aggregation group as the source.  
z  If you specify a destination aggregation group ID, the configuration of the source port will be copied 
to all ports in the aggregation group and all ports in the group will have the same configuration as 
that of the source port.  
 
Configuring Loopback Detection for an Ethernet Port 
Loopback detection is used to monitor if loopback occurs on a switch port. 
After you enable loopback detection on Ethernet ports, the switch can monitor if external loopback 
occurs on them. If there is a loopback port found, the switch 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 configure loopback detection for an Ethernet port: