![H3C S5120-SI Series Operation Manual Download Page 71](http://html2.mh-extra.com/html/h3c/s5120-si-series/s5120-si-series_operation-manual_3711174071.webp)
1-9
Testing the Cable on an Ethernet port
z
The optical interface of a SFP port does not support this feature.
z
A link in the up state goes down and then up automatically if you perform the operation described in
this section on one of the Ethernet ports forming the link.
Follow these steps to test the current operating state of the cable connected to an Ethernet port:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enter Ethernet port view
interface interface-type
interface-number
—
Test the cable connected to the
Ethernet port once
virtual-cable-test
Required
Configuring the Storm Constrain Function on an Ethernet port
The storm constrain function suppresses packet storms in an Ethernet. With this function enabled on an
interface, the system detects the unicast traffic, multicast traffic, or broadcast traffic passing through the
interface periodically and takes corresponding actions (that is, blocking or shutting down the interface
and sending trap messages and logs) when the traffic detected exceeds the threshold.
Alternatively, you can configure the storm suppression function to control a specific type of traffic. As
the function and the storm constrain function are mutually exclusive, do not enable them at the same
time on an Ethernet port. For example, with unicast storm suppression ratio set on an Ethernet port, do
not enable the storm constrain function for unicast traffic on the interface. Refer to
Configuring Storm
Suppression
for information about the storm suppression function.
With the storm constrain function enabled on an Ethernet port, you can specify the system to act as
follows when the traffic detected exceeds the threshold.
z
Blocking the interface. In this case, the interface is blocked and thus stops forwarding the traffic of
this type till the traffic detected is lower than the threshold. Note that an interface blocked by the
storm constrain function can still forward other types of traffic and monitor the blocked traffic.
z
Shutting down the interface. In this case, the interface is shut down and stops forwarding all types
of traffic. Interfaces shut down by the storm constrain function can only be brought up by using the
undo shutdown
command or disabling the storm constrain function.