15Configuration restrictions and guidelinesFor the same type of traffic, do not configure storm control together with storm suppression.Otherwise, the traffic suppression result is not determined. For more information about stormsuppression, see "Configuring storm suppression."Configuration procedureTo configure storm control on an Ethernet interface:Step Command Remarks1. Enter system view. system-view N/A2. (Optional.) Set the statisticspolling interval of the stormcontrol module.storm-constrain intervalsecondsThe default setting is 10 seconds.For network stability, use thedefault or set a longer statisticspolling interval.3. Enter Ethernet interfaceview.interface interface-typeinterface-number N/A4. (Optional.) Enable stormcontrol, and set the lowerand upper thresholds forbroadcast, multicast, orunknown unicast traffic.storm-constrain { broadcast |multicast | unicast } { pps | kbps| ratio } max-pps-valuesmin-pps-valuesBy default, storm control isdisabled.5. Set the control action to takewhen monitored trafficexceeds the upperthreshold.storm-constrain control { block| shutdown }By default, storm control isdisabled.6. (Optional.) Enable theEthernet interface to outputlog messages when itdetects storm controlthreshold events.storm-constrain enable logBy default, the Ethernet interfaceoutputs log messages whenmonitored traffic exceeds theupper threshold or drops belowthe lower threshold.7. (Optional.) Enable theEthernet interface to sendstorm control thresholdevent traps.storm-constrain enable trapBy default, the Ethernet interfacesends traps when monitoredtraffic exceeds the upperthreshold or drops below thelower threshold from the upperthreshold.Setting the MDIX mode of an Ethernet interfaceIMPORTANT:Fiber ports do not support the MDIX mode setting.A physical Ethernet interface has eight pins, each of which plays a dedicated role. For example, pins1 and 2 transmit signals, and pins 3 and 6 receive signals. You can use both crossover andstraight-through Ethernet cables to connect copper Ethernet interfaces. To accommodate thesetypes of cables, a copper Ethernet interface can operate in one of the following Medium DependentInterface-Crossover (MDIX) modes:• MDIX mode—Pins 1 and 2 are receive pins and pins 3 and 6 are transmit pins.• MDI mode—Pins 1 and 2 are transmit pins and pins 3 and 6 are receive pins.• AutoMDIX mode—The interface negotiates pin roles with its peer.To enable a copper Ethernet interface to communicate with its peer, set the MDIX mode of theinterface by following these guidelines: