7000 Series L3 Managed Switch Reference Manual for Software v2.0

config diffserv policy randomdrop

This command changes the active queue depth management scheme from the default tail drop to RED. The <policyname> and <classname> are the names of an existing DiffServ policy and class, respectively. The first two data parameters are the average queue depth minimum and maximum threshold values specified in bytes. The minimum threshold is an integer from 1 to 250000. The maximum threshold is an integer from 1 to 500000, but it must be equal to or greater than the minimum threshold. The third data parameter is the maximum drop probability and is an integer from 0 to 100. It indicates the percentage likelihood that a packet will be dropped when the average queue depth reaches the maximum threshold value.

The remaining parameters are all optional. The fourth data parameter is the sampling rate, indicating the period at which the queue is sampled for computing the average depth. Expressed in microseconds, the sampling rate is an integer from 0 to 1000000, with a default of 0 (meaning per- packet sampling). The last parameter is the decay exponent, which determines how quickly the average queue length calculation decays over time, with a higher number producing a faster rate of decay. This value is an integer from 0 to 16, with a default of 9.

Note: The last two parameters, namely sampling rate and decay exponent, are hierarchically specified in this command. That is, in order to provide a value for the decay exponent <0-16>, the user is required to also specify a sampling rate <0-1000000>for proper command interpretation.

Format

config diffserv policy randomdrop <policyname>

 

<classname> <1-250000> <1-500000> <0-100> [<0-

 

1000000> [<0-16>]]

Policy Type

Out

config diffserv policy shape average

This command is used to establish average rate traffic shaping for the specified class, which limits transmissions for the class to the committed information rate, with excess traffic delayed via queueing. The <policyname> and <classname> are the names of an existing DiffServ policy and class, respectively. The committed information rate is specified in kilobits-per-second (Kbps) and is an integer from 1 to 4294967295.

Note: Queue depth management defaults to tail drop, but the config diffserv policy randomdrop command can be used to change to a RED scheme.

Format

config diffserv policy shape average <policyname>

 

<classname> <1-4294967295>

9-26

CLI Commands: Differentiated Services

Page 204
Image 204
NETGEAR L3 manual Config diffserv policy randomdrop, Config diffserv policy shape average