Set Diffserv Class Delete; Set Diffserv Class Match - Enterasys D2 D2G124-12P Cli Reference Manual

D-series ethernet switches
Table of Contents

Advertisement

Example
This example shows how to create a Diffserv class called "admin": 
D2(rw)->set diffserv class create all admin

set diffserv class delete

Use this command to delete a Diffserv class and remove any match assigned to the class.
Syntax
set diffserv class delete classname
Parameters
classname
Defaults
None.
Mode
Switch command, read‐write.
Usage
You cannot use this command to delete a class that has been assigned to a policy. Before deleting a 
class with an assigned policy and service port(s), you must first:
Remove the service port(s) assigned to the policy using the set diffserv service remove 
command (page
Remove the specified class using the set diffserv policy class remove command (page
Example
This example shows how to delete the Diffserv "admin" class: 
D2(rw)->set diffserv class delete admin

set diffserv class match

Use this command to match a Diffserv class to a service condition based on layer 2, 3, and 4 packet 
parameters. 
set diffserv class match {[every classname] [dstmac | scrmac classname macaddr
macmask] [dstip | srcip classname ipaddr ipmask] [dstl4port | srcl4port{keyword
classname keyword | number classname portnumber}] [ipdscp classname dscpval]
[ipprecedence classname precedencenumber] [iptos classname tosbits tosmask]
[protocol {keyword classname protocol-name | number classname protocol-number}]
[refclass {add | remove}{classname refclassname}] [vlan classname vlanid]}
Parameters
every classname
dstmac | scrmac classname 
macaddr macmask
Specifies the class name to be deleted.
8‐16), then
Matches all packets to a specific class.
Matches to a specific class based on destination or source MAC 
address.
set diffserv class delete
8‐11).
D-Series CLI Reference 8-5

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Enterasys d2 d2g124-12D2g124-12D2g124-12p

Table of Contents