1 class-map, 2 class-map rename, 3 match any – Kontron AT8402 CLI User Manual

Page 120: Class-map - 8, Class-map rename - 8, Match any - 8, Quality of service (qos) commands at8402

Advertising
background image

Quality of Service (QoS) Commands

AT8402

AT8402 CLI Reference Manual

Page 3 - 8

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

.

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

<class-map-name>

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

<class-map-name>

Mode

Global Config

3.3.1.1

no class-map

This command eliminates an existing DiffServ class. The

<class-map-name>

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

<class-map-name>

Mode

Global Config

3.3.2

class-map rename

This command changes the name of a DiffServ class. The

<class-map-name>

is the

name of an existing DiffServ class. The

<new-class-map-name>

parameter is a case-

sensitive alphanumeric string from 1 to 31 characters uniquely identifying the class

(The

<class-map-name>

‘default’ is reserved and must not be used here).

Default

none

Format

class-map rename

<class-map-name> <new-class-map-name>

Mode

Global Config

3.3.3

match any

This command adds to the specified class definition a match condition whereby all

packets are considered to belong to the class.
Default

none

Format

match any

Advertising