4 diffserv policy commands, 1 assign-queue, 2 drop – Kontron AT8402 CLI User Manual

Page 124: 3 conform-color, 4 diffserv policy commands - 12, Assign-queue - 12, Drop - 12, Conform-color - 12, Quality of service (qos) commands at8402

Advertising
background image

Quality of Service (QoS) Commands

AT8402

AT8402 CLI Reference Manual

Page 3 - 12

Default

none

Format

match srcl4port

{<portkey> | <0-65535>}

Mode

Class-Map Config

3.4

DiffServ Policy Commands

Use the DiffServ policy commands to specify traffic conditioning actions, such as

policing and marking, to apply to traffic classes

Use the policy commands to associate a traffic class that you define by using the class

command set with one or more QoS policy attributes. Assign the class/policy

association to an interface to form a service. Specify the policy name when you create

the policy.

Each traffic class defines a particular treatment for packets that match the class

definition. You can associate multiple traffic classes with a single policy. When a

packet satisfies the conditions of more than one class, preference is based on the order

in which you add the classes to the policy. The first class you add has the highest

precedence.

This set of commands consists of policy creation/deletion, class addition/removal, and

individual policy attributes.

NOTE: The only way to remove an individual policy attribute from a class

instance within a policy is to remove the class instance and re-add it to
the policy. The values associated with an existing policy attribute can
be changed without removing the class instance.

The CLI command root is

policy-map

.

3.4.1

assign-queue

This command modifies the queue id to which the associated traffic stream is assigned.

The queueid is an integer from 0 to n-1, where n is the number of egress queues

supported by the device.
Format

assign-queue

<queueid>

Mode

Policy-Class-Map Config

Incompatibilities Drop

3.4.2

drop

This command specifies that all packets for the associated traffic stream are to be

dropped at ingress.
Format

drop

Mode

Policy-Class-Map Config

Incompatibilities Assign Queue, Mark (all forms), Police

3.4.3

conform-color

Use this command to enable color-aware traffic policing and define the conform-color

class map. Used in conjunction with the police command where the fields for the

Advertising