beautypg.com

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

Page 191: 3 mirror, 4 diffserv policy commands - 17, Assign-queue - 17, Drop - 17, Mirror - 17, At8404 quality of service (qos) commands

background image

AT8404

Quality of Service (QoS) Commands

Page 3 - 17

AT8404 CLI Reference Manual

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.

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.

3.4.2

drop

This command specifies that all packets for the associated traffic stream are to be dropped at ingress.

3.4.3

mirror

This command specifies that all incoming packets for the associated traffic stream are copied to a specific egress
interface (physical port or LAG).

Format

match secondary-vlan <1-4095>

Mode

Ipv6-Class-Map Config

Class-Map Config

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.

Format

assign-queue

Mode

Policy-Class-Map Config

Incompatibilities

Drop

Format

drop

Mode

Policy-Class-Map Config

Incompatibilities

Assign Queue, Mark (all forms), Mirror, Police, Redirect

Note: This command is not available on the Broadcom 5630x platform.