Configure loopback detection for ethernet port(s) – H3C Technologies H3C S3100 Series Switches User Manual
Page 145

1-4
Table 1-3 Enable flow control on a port
Operation
Command
Remarks
Enter system view
system-view
—
Enter Ethernet port view
interface interface-type
interface-number
—
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. For the detailed copy content,
please refer to the Command Manual.
Table 1-4 Duplicate the configuration of a port to specific ports
Operation
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.
Configure loopback detection for Ethernet port(s)
Loopback detection is used to monitor if a port of a switch is looped back.
After you enable loopback detection on Ethernet ports, the switch can monitor if an external loopback
occurs on them. If there is a loopback port found, the switch will deal with the loopback port according to
your configuration.
1) If a loop is found on an access port, the system will set the port to the block state (ports in this state
cannot forward data packets), send log and trap messages to the terminal, and remove the
corresponding MAC forwarding entry.