1 diffserv, 3 diffserv class commands, Diffserv - 7 – Kontron AT8402 CLI User Manual

Page 119: 3 diffserv class commands - 7, At8402 quality of service (qos) commands

Advertising
background image

AT8402

Quality of Service (QoS) Commands

Page 3 - 7

AT8402 CLI Reference Manual

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
updates the 802.1p user priority field contained in the VLAN tag of the
layer 2 packet header.

NOTE: Traffic to be processed by the DiffServ feature requires an IP header.

3.2.1

diffserv

This command sets the DiffServ operational mode to active. While disabled, the

DiffServ configuration is retained and can be changed, but it is not activated. When

enabled, Diffserv services are activated.
Format

diffserv

Mode

Global Config

3.2.1.1

no diffserv

This command sets the DiffServ operational mode to inactive. While disabled, the

DiffServ configuration is retained and can be changed, but it is not activated. When

enabled, Diffserv services are activated.
Format

no diffserv

Mode

Global Config

3.3

DiffServ Class Commands

Use the DiffServ class commands to define traffic classification. To classify traffic,

you specify Behavior Aggregate (BA), based on DSCP and Multi-Field (MF) classes

of traffic (name, match criteria)

This set of commands consists of class creation/deletion and matching, with the class

match commands specifying Layer 3, Layer 2, and general match criteria. The class

Advertising