4 match class-map, 5 match dstip, 6 match dstl4port – Kontron AT8402 CLI User Manual

Page 121: Match class-map - 9, Match dstip - 9, Match dstl4port - 9, At8402 quality of service (qos) commands

Advertising
background image

AT8402

Quality of Service (QoS) Commands

Page 3 - 9

AT8402 CLI Reference Manual

Mode

Class-Map Config

3.3.4

match class-map

This command adds to the specified class definition the set of match conditions defined

for another class. The

<refclassname>

is the name of an existing DiffServ class whose

match conditions are being referenced by the specified class definition. There is no

default value.
Format

match class-map

<refclassname>

Mode

Class-Map Config

NOTE:

The parameters

<refclassname>

and

<class-map-name>

can not be the same.

Only one other class may be referenced by a class.

Any attempts to delete the

<refclassname>

class while the class is still referenced

by any

<class-map-name>

fails.

The combined match criteria of

<class-map-name>

and

<refclassname>

must be

an allowed combination based on the class type.

Any subsequent changes to the

<refclassname>

class match criteria must main-

tain this validity, or the change attempt fails.

The total number of class rules formed by the complete reference class chain
(including both predecessor and successor classes) must not exceed a platform-
specific maximum. In some cases, each removal of a refclass rule reduces the max-
imum number of available rules in the class definition by one.

3.3.4.1

no match class-map

This command removes from the specified class definition the set of match conditions

defined for another class. The

<refclassname>

is the name of an existing DiffServ

class whose match conditions are being referenced by the specified class definition.
Format

no match class-map

<refclassname>

Mode

Class-Map Config

3.3.5

match dstip

This command adds to the specified class definition a match condition based on the

destination IP address of a packet. The

<ipaddr>

parameter specifies an IP address and

<ipmask>

specifies a subnet mask and must consist of a contiguous set of leading 1

bits.
Default

none

Format

match dstip

<ipaddr> <ipmask>

Mode

Class-Map Config

3.3.6

match dstl4port

This command adds to the specified class definition a match condition based on the

destination layer 4 port of a packet using a single keyword or numeric notation. To

specify the match condition as a single keyword, the value for

<portkey>

is one of the

supported port name keywords. The currently supported

<portkey>

values are:

domain,

Advertising