User Manual for the NETGEAR 7300S Series Layer 3 Managed Switch Software
Quality of Service (QoS) Commands
11-19
202-10088-01, March 2005
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
particular treatment for packets that match the class definition. When a packet satisfies the
conditions of more than one class, preference is based on the order in which the classes were added
to the policy, with the foremost class taking highest precedence.
This set of commands consists of policy creation/deletion, class addition/removal, and individual
policy attributes. Note that the only way to remove an individual policy attribute from a class
instance within a policy is to remove the class instance and re-add it to the policy. The values
associated with an existing policy attribute can be changed without removing the class instance.
The CLI command root is
policy-map
.
assign-queue
This command modifies the queue id to which the associated traffic stream is assigned. The
queueid is an integer from 0 to n-1, where n is the number of egress queues supported by the
device.
Format
assign-queue <queueid>
Mode
Policy-Class-Map Config
drop
This command specifies that all packets for the associated traffic stream are to be dropped at
ingress.
Format
drop
Mode
Policy-Class-Map Config
mark secondary-cos
This command marks all packets for the associated traffic stream with the specified secondary
class of service value (the inner 802.1Q tag of a double VLAN tagged packet) in the priority field
of the 802.1p header. If the packet does not already contain this header, one is inserted. The CoS
value is an integer from 0 to 7.
Format
mark secondary-cos <0-7>
Mode
Policy-Class-Map Config