beautypg.com

1 diffserv, 3 diffserv class commands, 1 class-map – Kontron AT8902 Full Size CLI User Manual

Page 172: Diffserv - 8, 3 diffserv class commands - 8, Class-map - 8

background image

AT8901/2/3

AT8901/2/3 CLI Reference Manual

Page 4 - 8

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.

4.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

4.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

4.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
match criteria are also known as class rules, with a class definition consisting of one or
more rules to identify the traffic that belongs to the class.

NOTE: Once you create a class match criterion for a class, you cannot change

or delete the criterion. To change or delete a class match criterion, you
must delete and re-create the entire class.

The CLI command root is

class-map

.

4.3.1

class-map

This command defines a DiffServ class of type match-all. When used without any
match condition, this command enters the class-map mode. The

is

a case sensitive alphanumeric string from 1 to 31 characters uniquely identifying an
existing DiffServ class.

NOTE: The class-map-name 'default' is reserved and must not be used.

The class type of

match-all

indicates all of the individual match conditions must be

true for a packet to be considered a member of the class.

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

successfully executed.