8When the traffic exceeds its higher threshold, the interface does either of the following, depending onyour configuration:• Blocks the particular type of traffic, while forwarding other types of traffic. Even though the interfacedoes not forward the blocked traffic, it still counts the traffic. When the blocked traffic is detecteddropping below the threshold, the interface begins to forward the traffic.• Shuts down automatically. The interface shuts down automatically and stops forwarding any traffic.To bring up the interface, perform the undo shutdown command or disable the storm constrainfunction.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 traffic polling interval of thestorm control module storm-constrain interval seconds Optional10 seconds by default.Enter Ethernet interface view interface interface-typeinterface-number —Enable storm control, and set thelower and upper thresholds forbroadcast, multicast, or unknownunicast trafficstorm-constrain { broadcast |multicast | unicast } ppsmax-pps-values min-pps-valuesRequiredDisabled by default.Set the control action to take whenmonitored traffic exceeds theupper thresholdstorm-constrain control { block |shutdown }OptionalDisabled by default.Enable the interface to send stormcontrol threshold event traps. storm-constrain enable trapOptionalBy default, the interface sendstraps when monitored trafficexceeds the upper threshold ordrops below the lower thresholdfrom the upper threshold.Enable the interface to log stormcontrol threshold events. storm-constrain enable logOptionalBy default, the interface outputs logmessages when monitored trafficexceeds the upper threshold orfalls below the lower thresholdfrom the upper threshold.NOTE:• For network stability, use the default or set a higher traffic polling interval.• Storm control uses a complete polling cycle to collect traffic data, and analyzes the data in the next cycle.Thus, it takes an interface at least one polling interval and at most two polling interval to take a stormcontrol action.• The storm control function allows you set the upper and lower thresholds for all three types of packetsrespectively under the same interface.Setting the statistics polling intervalFollow these steps to set the statistics polling interval on an Ethernet interface: