beautypg.com

H3C Technologies H3C S3100 Series Switches User Manual

Page 130

background image

Operation Manual – Port Basic Configuration

H3C S3100-52P Ethernet Switch

Chapter 1 Port Basic Configuration

1-8

Note:

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.

1.2.8 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.

Table 1-10

Set loopback detection for an Ethernet port

Operation

Command

Remarks

Enter system view

system-view

Enable loopback

detection globally

loopback-detection
enable

Optional
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

Optional
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.