22 System ConfigurationStorm ControlA traffic storm is a condition that occurs when incoming packets flood the LAN, which createsperformance degradation in the network. The Storm Control feature protects against this condition.The switch software provides broadcast, multicast, and unicast storm recovery for individual interfaces.Unicast Storm Control protects against traffic whose MAC addresses are not known by the system.For broadcast, multicast, and unicast storm control, if the rate of traffic ingressing on an interfaceincreases beyond the configured threshold for that type, the traffic is dropped.To configure storm control, you will enable the feature for all interfaces or for individual interfaces, andyou will set the threshold (storm control level) beyond which the broadcast, multicast, or unicast trafficwill be dropped.Configuring a storm-control level also enables that form of storm-control. Disabling a storm-control level(using the “no” version of the command) sets the storm-control level back to default value and disablesthat form of storm-control. Using the “no” version of the “storm-control” command (not stating a“level”) disables that form of storm-control but maintains the configured “level” (to be active next timethat form of storm-control is enabled).NOTE: The actual rate of ingress traffic required to activate storm-control is based on the size of incoming packetsand the hard-coded average packet size of 512 bytes - used to calculate a packet-per-second (pps) rate - as theforwarding-plane requires pps versus an absolute rate kbps. For example, if the configured limit is 10%, this isconverted to ~25000 pps, and this pps limit is set in forwarding plane (hardware). You get the approximate desiredoutput when 512bytes packets are used.CLI ExampleThe following examples show how to configure the storm control feature on port two, which is anEthernet interface. The interface number is 1/g2.Example #1: Set Broadcast Storm Control for an Interfaceconsole#configureconsole(config)#interface ethernet 1/g2console(config-if-1/g2)#storm-control broadcast ?level Configure storm-control thresholds. Press enter to execute the command.console(config-if-1/g2)#storm-control broadcast level ? Enter the storm-control threshold as percent of portspeed. Percent of port speed is converted toPacketsPerSecond based on 512 byte average packetsize and applied to HW. Refer to documentation forfurther details.