387
DiffServ Policy Commands
To specify the match condition as a numeric value, one layer 4 port number is required. The port number is an integer from
0 to 65535.
D
IFF
S
ERV
P
OLICY
C
OMMANDS
Use the DiffServ policy commands to specify traffic conditioning actions, such as policing and marking, to apply to traffic
classes
Use the policy commands to associate a traffic class that you define by using the class command set with one or more QoS
policy attributes. Assign the class/policy association to an interface to form a service. Specify the policy name when you
create the policy.
Each traffic class defines a particular treatment for packets that match the class definition. You can associate multiple traffic
classes with a single policy. When a packet satisfies the conditions of more than one class, preference is based on the order
in which you add the classes to the policy. The first class you add has the highest precedence.
This set of commands consists of policy creation/deletion, class addition/removal, and individual policy attributes.
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 7 and the number of egress queues supported by the switch is 8.
drop
This command specifies that all packets for the associated traffic stream are to be dropped at ingress.
Default
none
Format
match srcl4port
{<portkey> | <0-65535>}
Mode
Class-Map Config
Ipv6-Class-Map Config
Note:
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.
Format
assign-queue
<queueid>
Mode
Policy-Class-Map Config
Incompatibilities
Drop
Format
drop
Mode
Policy-Class-Map Config
Incompatibilities
Assign Queue, Mark (all forms), Mirror, Police
Summary of Contents for DWS-4000 Series
Page 20: ...D Link Unified Switch CLI Command Reference 12 2009 D Link Corporation All Rights Reserved ...
Page 170: ...D Link Unified Switch CLI Command Reference 162 2009 D Link Corporation All Rights Reserved ...
Page 369: ...361 Captive Portal Status Commands Locale Link The names of the languages Field Description ...
Page 416: ...D Link Unified Switch CLI Command Reference 408 2009 D Link Corporation All Rights Reserved ...
Page 528: ...D Link Unified Switch CLI Command Reference 520 2009 D Link Corporation All Rights Reserved ...
Page 545: ...537 O SSupport ...
Page 546: ...D Link Unified Switch CLI Command Reference 538 2009 D Link Corporation All Rights Reserved ...
Page 566: ...D Link Unified Switch CLI Command Reference 558 2009 D Link Corporation All Rights Reserved ...