1-10z With traffic upper and lower thresholds specified on a port, the system periodically collectsstatistics about the broadcast/multicast traffic on the port. Once it finds that a type of traffic exceedsthe specified upper threshold, it blocks this type of traffic on the port or directly shuts down the port,and outputs trap/log information according to your configuration.z When a type of traffic on the port falls back to the specified lower threshold, the system cancels theblocking of this type of traffic on the port or brings up the port to restore traffic forwarding for the port,and outputs log/trap information according to your configuration.Follow these steps to configure storm control on a port:To do... Use the command... RemarksEnter system view system-view —Set the interval at which the portcollects traffic statisticsstorm-constrain intervalinterval-valueOptionalIt is 10 seconds by default.Enter Ethernet port view interface interface-typeinterface-number —Set the upper and lower thresholdsof broadcast/multicast trafficreceived on the portstorm-constrain { broadcast |multicast } max-packetsmin-packets { pps | kbps }RequiredSet the action to be taken when atype of traffic received on the portexceeds the upper threshold.storm-constrain control { block |shutdown }OptionalBy default, no action is taken whena type of traffic reaches the upperthreshold.Enable log/trap information to beoutput when a type of trafficreceived on the port exceeds theupper threshold or falls below thelower thresholdstorm-constrain enable { log |trap }OptionalEnabled by default.z If the broadcast-suppression command, or multicast-suppression command is configured on aport, you cannot configure the storm control function on the port, and vice versa.z You are not recommended to set the upper and lower traffic thresholds to the same value.z If you specify the block keyword when executing the storm-constrain control command, only thepackets beyond the upper thresholds are blocked when the overall traffic exceeds the upperthreshold. In this case, the blocked packets are still taken into account when generating trafficstatistics. If you specify the shutdown keyword when executing the command, the port will be shutdown when the traffic passing through the port exceeds the upper threshold. You bring up the portagain by executing the undo shutdown or the undo storm-constrain { all | broadcast |multicast } command.Setting the Port State Change DelayDuring a short period after you connect your switch to another device, the connecting port may go upand down frequently due to hardware compatibility, resulting in service interruption.To avoid situations like this, you may introduce a port state change delay.