10 police-two-rate, 11 policy-map – PLANET WGS3-24000 User Manual
Page 391
![background image](https://www.manualsdir.com/files/865143/content/doc391.png)
391
cs5, cs6, cs7, ef.
For set-prec-transmit, an IP Precedence value is required and is specified as an integer from 0-7.
▫
Format
police-single-rate {<1-4294967295> <1-128> <1-128> conformaction {drop | set-prec-transmit <0-7> |
set-dscp-transmit <0- 63> | transmit} exceed-action {drop | set-prec-transmit <0-7> | set-dscp-transmit <0-63> |
transmit} [violate-action {drop | set-prec-transmit <0-7> | set-dscp-transmit <0-63> | transmit}]}
▫
Mode Policy-Class-Map
Config
▫
Restrictions -
Only one style of police command (simple, singlerate, tworate) is allowed for a given class instance in a
particular policy.
▫
Policy Type -
In
▫
Incompatibilities -
Mark IP DSCP, Mark IP Precedence
9.5.10 police-two-rate
This command is used to establish the traffic policing style for the specified class. The two-rate form of the police command
uses two data rates and two burst sizes, resulting in three outcomes: conform, exceed and violate. The first two data
parameters are the conforming data rate and burst size. The conforming data rate is specified in kilobits-per-second (Kbps) and
is an integer from 1 to 4294967295, while the conforming burst size is specified in kilobytes (KB) as an integer from 1 to 128.
The next two data parameters are the peak data rate and burst size. The peak data rate is specified in kilobits-persecond (Kbps)
as an integer from 1 to 4294967295, while the peak burst size is specified in kilobytes (KB) as an integer from 1 to 128. Note
that the peak data rate must be equal to or greater than the conforming data rate.
For each outcome, the only possible actions are drop, set-dscp-transmit, set-prec-transmit, or transmit. In this two-rate form of
the police command, the conform action defaults to send, the exceed action defaults to drop, and the violate action defaults to
drop. These actions can be set with this command once the style has been configured.
For set-dscp-transmit, a
one of the following keywords: af11, af12, af13, af21, af22, af23, af31, af32, af33, af41, af42, af43, be, cs0, cs1, cs2, cs3, cs4,
cs5, cs6, cs7, ef.
For set-prec-transmit, an IP Precedence value is required and is specified as an integer from 0-7.
▫
Format
police-two-rate {<1-4294967295> <1-128> <1-4294967295> <1-128> conform-action {drop |
set-prec-transmit <0-7> | set-dscp-transmit <0-63> | transmit} exceed-action {drop | set-prec-transmit <0-7> |
set-dscp-transmit <0-63> | transmit} [violate-action {drop | set-prec-transmit <0-7> | set-dscp-transmit <0-63> |
transmit}]}
▫
Mode
Policy-Class-Map Config
▫
Restrictions -
Only one style of police command (simple, singlerate, tworate) is allowed for a given class instance in a
particular policy.
▫
Policy Type -
In
▫
Incompatibilities -
Mark IP DSCP, Mark IP Precedence
9.5.11 policy-map
This command establishes a new DiffServ policy. The
to 31 characters uniquely identifying the policy. The type of policy is specific to either the inbound or outbound traffic direction as
indicated by the {in | out} parameter.