2 no diffserv, 2 class commands, 1 class-map – Fortinet 548B User Manual

Page 362

Advertising
background image

- 362 -

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

Syntax

no diffserv

Command Mode

Global Config

7.21.2

Class Commands

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

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

Service Levels specifies the BA forwarding classes / service levels. Conceptually, DiffServ is a
two-level 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.

7.21.2.1 class-map

This command defines a new DiffServ class of type match-all, match-any or match-access-group.

Syntax

class-map [ match-all ] <class-map-name> [{ipv4 | ipv6}]

<class-map-name> is a case sensitive alphanumeric string from 1 to 31 characters uniquely identifying
the class.

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

Advertising