1 diffserv, 4 class commands, 1 class-map – PLANET WGS3-24240 User Manual

Page 425

Advertising
background image

User’s Manual of WGS3-24000 / WGS3-24240

425

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

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

9.4 Class Commands

The 'class' command set is used in DiffServ to define:

Traffic Classification - Specify Behavior Aggregate (BA), based on DSCP, and Multi-Field (MF) classes of traffic (name,

match criteria)

Service Levels - Specify the BA forwarding classes / service levels. Conceptually, DiffServ is a twolevel hierarchy of

classes: 1. Service/PHB, 2. Traffic Class

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 belonging to the class.

Note that once a class match criterion is created for a class, it cannot be changed or deleted - the entire class must be deleted

and re-created.

The CLI command root is class-map.

9.4.1 class-map

This command defines a new DiffServ class of type match-all, match-any or match-access-group. The <classname> parameter

is a case sensitive alphanumeric string from 1 to 31 characters uniquely identifying the class (Note: the class name 'default' is

reserved and must not be used here).

When used without any match condition, this command enters the class-map mode. The <classname> is the name of an

existing DiffServ class (note: the class name 'default' is reserved and is not allowed here)

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.

The class type of match-any indicates only one of the match criteria must be true for a packet to belong to the class; multiple

matching criteria are evaluated in a sequential order, with the highest precedence awarded to the first criterion defined for the

class.

The class type of match-access-group indicates the individual class match criteria are evaluated based on an access list

(ACL). The <aclid> parameter is an integer specifying an existing ACL number (refer to the appropriate ACL documentation for

the valid ACL number range). A match-access-group class type copies its set of match criteria from the current rule definition

of the specified ACL number. All elements of a single ACL Rule are treated by DiffServ as a grouped set, similar to class type all.

Advertising
This manual is related to the following products: