2 differentiated services (diffserv) commands, 2 differentiated services (diffserv) commands - 7 – Kontron AT890X Full-Size CLI User Manual

Page 173

Advertising
background image

AT8901/2/3

Quality of Service (QoS) Commands

Page 4 - 7

AT8901/2/3 CLI Reference Manual

If you specify the interface, the command also displays the following information.

Interface

This displays the unit/slot/port of the interface. If displaying the global
configuration, this output line is replaced with a Global Config indica-
tion.

Interface Shaping Rate The maximum transmission bandwidth limit for the interface

as a whole. It is independent of any per-queue maximum bandwidth
value(s) in effect for the interface. This is a configured value.

4.2

Differentiated Services (DiffServ) Commands

This section describes the commands you use to configure QOS Differentiated
Services (DiffServ).

You configure DiffServ in several stages by specifying three DiffServ components:

1. Class

-

Creating and deleting classes.

-

Defining match criteria for a class.

2. Policy

-

Creating and deleting policies

-

Associating classes with a policy

-

Defining policy statements for a policy/class combination

3. Service

-

Adding and removing a policy to/from an inbound interface

The DiffServ class defines the packet filtering criteria. The attributes of a DiffServ
policy define the way the switch processes packets. You can define policy attributes on
a per-class instance basis. The switch applies these attributes when a match occurs.

Packet processing begins when the switch tests the match criteria for a packet. The
switch applies a policy to a packet when it finds a class match within that policy.

The following rules apply when you create a DiffServ class:

Each class can contain a maximum of one referenced (nested) class

Class definitions do not support hierarchical service policies

A given class definition can contain a maximum of one reference to another class. You
can combine the reference with other match criteria. The referenced class is truly a
reference and not a copy since additions to a referenced class affect all classes that
reference it. Changes to any class definition currently referenced by any other class
must result in valid class definitions for all derived classes, otherwise the switch rejects
the change. You can remove a class reference from a class definition.

The only way to remove an individual match criterion from an existing class definition
is to delete the class and re-create it.

NOTE: The mark possibilities for policing include CoS, IP DSCP, and IP Pre-

cedence. While the latter two are only meaningful for IP packet types,
CoS marking is allowed for both IP and non-IP packets, since it

Advertising