1-10To do… Use the command… RemarksTest the cable connected to theEthernet interface once virtual-cable-test RequiredConfiguring the Storm Constrain Function on an Ethernet InterfaceThe storm constrain function suppresses packet storms in an Ethernet. With this function enabled on aninterface, the system detects the unicast traffic, multicast traffic, or broadcast traffic passing through theinterface periodically and takes corresponding actions (that is, blocking or shutting down the interfaceand 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. Asthe function and the storm constrain function are mutually exclusive, do not enable them at the sametime on an Ethernet interface. For example, with unicast storm suppression ratio set on an Ethernetinterface, do not enable the storm constrain function for unicast traffic on the interface. Refer toConfiguring Storm Suppression for information about the storm suppression function.With the storm constrain function enabled on an Ethernet interface, you can specify the system to act asfollows when the traffic detected exceeds the threshold.z Blocking the interface. In this case, the interface is blocked and thus stops forwarding the traffic ofthis type till the traffic detected is lower than the threshold. Note that an interface blocked by thestorm 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 typesof traffic. Interfaces shut down by the storm constrain function can only be brought up by using theundo shutdown command or disabling the storm constrain function.Follow these steps to configure the storm constrain function on an Ethernet interface:To do… Use the command… RemarksEnter system view system-view —Set the interval for generatingtraffic statisticsstorm-constrain intervalsecondsOptional10 seconds by defaultEnter Ethernet interface view interface interface-typeinterface-number —Enable the storm constrainfunction and set the lowerthreshold and the upperthresholdstorm-constrain { broadcast |multicast | unicast } { pps |kbps | ratio } max-pps-valuesmin-pps-valuesRequiredDisabled by defaultSet the action to be taken whenthe traffic exceeds the upperthresholdstorm-constrain control{ block | shutdown }OptionalDisabled by default