set diffserv policy rename
policyname
classname
markdscp | markprec Specifies a policing action based on IP DHCP or precedence.
value
Defaults
None.
Mode
Switch command, read‐write.
Example
This example shows how to set the policying action to drop for packets not conforming to the
Diffserv policy "admin," class "system."
D2(rw)->set diffserv policy police action nonconform drop admin system
set diffserv policy rename
Use this command to change the name of a Diffserv policy.
Syntax
set diffserv policy rename policyname newpolicyname
Parameters
policyname
newpolicyname
Defaults
None.
Mode
Switch command, read‐write.
Example
This example shows how to rename the "admin" Diffserv policy to "system":
D2(rw)->set diffserv policy rename admin system
Assigning Policies to Service Ports
Purpose
To review and assign Diffserv policies and their associated classes to service ports.
10-14 Differentiated Services Configuration
Specifies the policy name being configured.
Specifies a Diffserv class to associate to this policing action.
Specifies an IP DHCP or precedence value set with the set diffserv
policy mark command (page 10‐11).
Specifies the policy name previously set for this new Diffserv class.
Specifies a new policy name.