346 | Quality of Service (QoS) Commandsw w w . d e l l . c o m | s u p p o r t . d e l l . c o m Policy CommandsThe commands described in this section are:• assign-queue on page 346• class on page 348• conform-color on page 348• drop on page 348• mark cos on page 350• mark ip-dscp on page 350• mark ip-precedence on page 351• police-simple on page 352• policy-map on page 354• policy-map rename on page 355• redirect on page 355The policy command set is used in DiffServ to define:• Traffic Conditioning—Specify traffic conditioning actions (policing, marking, shaping) to applyto traffic classes.• Service Provisioning—Specify bandwidth and queue depth management requirements of servicelevels (EF, AF, etc.).The policy commands are used to associate a traffic class, which was defined by the class commandset, with one or more QoS policy attributes. This association is then assigned to an interface to form aservice. The user specifies the policy name when the policy is created.The DiffServ CLI does not necessarily require that users associate only one traffic class to one policy.In fact, multiple traffic classes can be associated with a single policy, each defining a particulartreatment for packets that match the class definition. When a packet satisfies the conditions of morethan one class, preference is based on the order in which the classes were added to the policy, with theforemost class taking highest precedence.This set of commands consists of policy creation/deletion, class addition/removal, and individualpolicy attributes. Note that the only way to remove an individual policy attribute from a class instancewithin a policy is to remove the class instance and re-add it to the policy. The values associated with anexisting policy attribute can be changed without removing the class instance.Class instances are always added to the end of an existing policy. While existing class instances may beremoved, their previous location in the policy is not reused, so the number of class instance additions/removals is limited. In general, significant changes to a policy definition require that the entire policybe deleted and re-created with the desired configuration.The CLI command root is policy-classmap.assign-queueThis command modifies the queue ID to which the associated traffic stream is assigned.Syntax assign-queue queueid