1-9To do... Use the command... RemarksEnter system view system-view —Enter Ethernet port view interface interface-typeinterface-number —Set the upper and lowerthresholds ofbroadcast/multicast/unicasttraffic received on the portstorm-constrain { broadcast |multicast | unicast }max-packets min-packets ppsRequiredSet the action to be taken whena type of traffic received on theport exceeds the upperthreshold.storm-constrain control{ block | shutdown }OptionalBy default, no action is takenwhen a type of traffic reachesthe upper threshold.Enable log/trap information tobe output when a type of trafficreceived on the port exceedsthe upper threshold or fallsbelow the lower thresholdstorm-constrain enable { log |trap }OptionalBy default, log/trap output isenabled.Return to system view quit —Set the interval at which theport collects traffic statisticsstorm-constrain intervalinterval-valueOptionalIt is 10 seconds by default.z If the fabric function is enabled on a port of a device, you cannot configure the storm controlfunction on all ports of the device.z If the broadcast-suppression command, multicast-suppression command or unicastsuppression command is configured on a port, you cannot configure the storm control function onthe 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 | unicast } 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.