Software Version 2.8.1
129
Software Version 2.8.1
C613-10477-00 REV B
Example
The following command enables storm protection as follows:
■
creates QoS Policy 1 with a description of
stormprotection
■
enables storm protection on the policy
■
checks traffic every 200 milliseconds
■
if the rate has exceeded 50kbps, activates storm protection
■
when activated, storm protection operationally disables the port for 60
seconds
cre qos poli=1 desc=stormprotection dtcstorms=ena
dtcstormw=200 dtcstormr=50kbps dtcstorma=linkd
dtcstormt=60
Parameter
Description
DTCSTORMStatus
Whether storm protection is enabled for the default traffic class.
Default:
disabled
DTCSTORMWindow
Time between the polling of traffic class counters that checks
whether storm protection should be activated. Required when storm
protection is enabled.
Default:
none
windowsize
Number of milliseconds from 100 to 60 000.
NONE
Storm protection is inactive.
DTCSTORMRate
Storm protection is activated when this rate of traffic is exceeded.
Required when storm protection is enabled.
If the value of
dtcstormwindow
is less than one second, the rate is
averaged over the last second.
Default:
none
Rate
Bits per second from 1Kbps to 10Gbps, specified in
Kbps, Mbps or Gbps. If you do not specify a unit, it
uses Kbps. If you specify Mbps or Gbps, the rate may
contain a decimal fraction with up to 3 decimal
places, for example, 1.25 Mbps.
NONE
Storm protection is inactive.
DTCSTORMAction
Action QoS takes when a storm is detected on a port.
Default:
portdisable
LINKDown
Operationally disables ports to which the policy is
attached.
POrtdisable
Administratively disables ports to which the policy is
attached.
DTCSTORMTimeout
Length of time the port remains disabled after a storm is detected.
Default:
none
timeoutlength
Duration in seconds from 1 to 86400.
NONE
The port remains disabled until you enable it again
with the
enable switch port
command.