12 policy-map rename, 13 randomdrop, 14 shape bps-average – PLANET WGS3-24240 User Manual

Page 436

Advertising
background image

User’s Manual of WGS3-24000 / WGS3-24240

436

"

Note

:

The CLI mode is changed to Policy-Map Config when this command is successfully executed.

Format policy-map <policyname> {in | out}

Mode

Global Config

9.5.11.1 no policy-map

This command eliminates an existing DiffServ policy. The <policyname> parameter is the name of an existing DiffServ policy.

This command may be issued at any time; if the policy is currently referenced by one or more interface service attachments, this

deletion attempt shall fail.

Format no policy-map <policyname>

Mode

Global Config

9.5.12 policy-map rename

This command changes the name of a DiffServ policy. The <policyname> is the name of an existing DiffServ class. The

<newpolicyname> parameter is a case-sensitive alphanumeric string from 1 to 31 characters uniquely identifying the policy.

Format policy-map rename <policyname> <newpolicyname>

Mode

Global Config

9.5.13 randomdrop

This command changes the active queue depth management scheme from the default tail drop to RED. 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 randomdrop <1-250000> <1-500000> <0-100> [<0-1000000> [<0-16>]]

Mode

Policy-Class-Map Config

Policy Type - Out

9.5.14 shape bps-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 queuing. The committed information rate is specified in

Advertising
This manual is related to the following products: