beautypg.com

10 police-simple, 11 policy-map, 10 police-simple - 17 4.4.11 policy-map - 17 – Kontron AT8904 CLI User Manual

Page 185: At8904m quality of service (qos) commands

background image

AT8904M

Quality of Service (QoS) Commands

Page 4 - 17

AT8904M CLI Reference Manual

Incompatibilities Drop, Mark CoS, Mark IP DSCP, Police

4.4.10

police-simple

This command is used to establish the traffic policing style for the specified class. The
simple form of the police command uses a single data rate and burst size, resulting in
two outcomes: conform and violate. The conforming data rate is specified in kilobits-
per-second (Kbps) and is an integer from 1 to 4294967295. The conforming burst size
is specified in kilobytes (KB) and is an integer from 1 to 128.

For each outcome, the only possible actions are drop, set-cos-transmit, set-dscp-
transmit, set-prec-transmit, or transmit. In this simple form of the police command, the
conform action defaults to transmit and the violate action defaults to drop.

For set-dscp-transmit, a

value is required and is specified as either an

integer from 0 to 63, or symbolically through 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.

For set-cos-transmit an 802.1p priority value is required and is specified as an integer
from 0-7.

Format

police-simple {<1-4294967295> <1-128> conform-action

{drop | set-prec-transmit <0-7> | set-dscp-transmit <0-63>

| set-cos-transmit <0-7> | transmit} [violate-action {drop

| set-prec-transmit <0-7> | set-dscp-transmit <0-63> |

set-cos-transmit <0-7> | transmit}]}

Mode

Policy-Class-Map Config

Incompatibilities Drop, Mark (all forms)

4.4.11

policy-map

This command establishes a new DiffServ policy. The

>

parameter is a

case-sensitive alphanumeric string from 1 to 31 characters uniquely identifying the
policy. The type of policy is specific to the inbound traffic direction as indicated by the
in parameter.

NOTE: The CLI mode is changed to Policy-Map Config when this command

is successfully executed.

Format

policy-map in

Mode

Global Config

4.4.11.1

no policy-map

This command eliminates an existing DiffServ policy. The

>

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
delete attempt fails.

Format

no policy-map

Mode

Global Config