3 diffserv class commands, 1 class-map, 3 diffserv class commands - 8 – Kontron AT8902M CLI User Manual
Page 176: Class-map - 8, Quality of service (qos) commands at8902m

Quality of Service (QoS) Commands
AT8902M
AT8902M CLI Reference Manual
Page 4 - 8
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.
Format
class-map match-all 
Mode
Global Config
4.3.1.1
no class-map
This command eliminates an existing DiffServ class. The
is the
name of an existing DiffServ class ( The class name 'default' is reserved and is not 
allowed here). This command may be issued at any time; if the class is currently 
referenced by one or more policies or by any other class, the delete action fails.
Format
no class-map 
Mode
Global Config
