EdgeSwitch CLI Command Reference
DiffServ Policy Commands
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 .
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 .
The CLI command root is policy-map .
assign-queue
This command modifies the queue id to which the associated traffic stream is assigned . The
integer from 0 to n-1, where n is the number of egress queues supported by the device .
assign-queue queueid
Format
Mode
Policy-Class-Map Config
Incompatibilities
Drop
drop
This command specifies that all packets for the associated traffic stream are to be dropped at ingress .
drop
Format
Mode
Policy-Class-Map Config
Incompatibilities
Assign Queue, Mark (all forms), Mirror, Police, Redirect
mirror
This command specifies that all incoming packets for the associated traffic stream are copied to a specific egress
interface (physical port or LAG) .
mirror slot/port
Format
Mode
Policy-Class-Map Config
Incompatibilities
Drop, Redirect
redirect
This command specifies that all incoming packets for the associated traffic stream are redirected to a specific
egress interface (physical port or port-channel) .
redirect slot/port
Format
Mode
Policy-Class-Map Config
Incompatibilities
Drop, Mirror
Ubiquiti Networks, Inc.
Quality of Service Commands
queueid
is an
379