Set diffserv policy class, Set diffserv policy mark – Enterasys Networks Enterasys D2 D2G124-12P User Manual
Page 279
set diffserv policy class
D-Series CLI Reference 8-11
Mode
Switch command, read‐write.
Usage
In order to delete a policy you must first remove the service port(s) assigned to the policy using
the set diffserv service remove command as described in “
Example
This example shows how to delete the Diffserv “admin” policy:
D2(rw)->set diffserv policy delete admin
set diffserv policy class
Use this command to add or remove a Diffserv class to a specified policy. Once added, policies
will be active for the specified class.
Syntax
set diffserv policy class {add | remove} policyname classname
Parameters
Defaults
None.
Mode
Switch command, read‐write.
Usage
Class must be added to a policy using this command before policy parameters, such as
bandwidth, marking, and policing, can be configured.
Example
This example shows how to add the “system” class to the “admin” policy:
D2(rw)->set diffserv policy class add admin system
set diffserv policy mark
Use this command to mark all packets for the associated Diffserv traffic stream with a specific IP
DSCP or IP precedence value.
Syntax
set diffserv policy mark {ipdscp | ipprecedence policyname classname value}
add | remove
Adds or removes the specified class.
policyname
Specifies the policy name to be associated with the class.
classname
Specifies a class name to add or remove.