Set diffserv class delete, Set diffserv class match – Enterasys Networks D-Series User Manual
Page 303
set diffserv class delete
Enterasys D-Series CLI Reference
10-5
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
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 (
), then
•
Remove the specified class using the set diffserv policy class remove command (
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]}
classname
Specifies the class name to be deleted.