beautypg.com

Setting the storm data rate and window size 6 – Allied Telesis AT-8100 Series User Manual

Page 1796

background image

Chapter 102: QoS Storm Control Protection

1796

Setting the Storm Control Speed and Sampling Frequency

You want to set the data rate for triggering policy-based QSP in
conjunction with determining the frequency that traffic is sampled. The
STORM-RATE command sets the data rate in kbps. The STORM-
WINDOW command sets the frequency in milliseconds. For more
information about these commands, see “STORM-RATE” on page 1806
and “STORM-WINDOW” on page 1808.

The following example sets the storm rate to 3000 kbps and the storm
window size to 200 ms on a policy-map called “pmap7.”

Table 248. Setting the Storm Data Rate and Window Size

Command

Description

awplus> enable

Enters the Privileged Executive mode
from the User Executive mode.

awplus# configure terminal

Enters the Global Configuration mode.

awplus(config)# mls qos enable

Activates the QoS feature on the switch.

awplus(config)# policy-map
pmap7

Creates a policy map called “pmap7” and
enters the Policy Map mode.

awplus(config-pmap)# class
cmap4

Associates an existing class map, called
“cmap4,” to policy map “pmap7” and
enters the Policy Map Class mode.

awplus(config-pmap-c)# storm-
protection

Enables the QSP feature.

awplus(config-pmap-c)# storm-
rate 3000

Sets the storm rate to 3000 kbps.

awplus(config-pmap-c)# storm-
action portdisable

Sets the storm action to disable a port.

awplus(config-pmap-c)# storm-
window 200

Sets the storm window size to 200 ms.