Advanced Traffic Management Guide K/KA/KB.15.15

Layer 3 IP protocol
Layer 3 IP precedence bits
Layer 3 DSCP codepoint
Layer 4 TCP/UDP application port
VLAN ID
3. Enter one or more match or ignore commands from the class configuration context to filter
traffic and determine the packets on which policy actions will be performed.
Context: Class configuration
Syntax:
[no] [seq-number] [ match | ignore ] ip-protocol source-address
destination-address [dscp codepoint] [precedence precedence-value]
[tos tos-value ] [vlan vlan-id]
4. Create a QoS policy to perform QoS actions on selected packets by entering the policy
qos command from the global configuration context.
Context: Global configuration
Syntax:
[no] policy qos policy-name
Defines the name of a QoS policy and enters the policy configuration context.
A traffic policy consists of one or more classes, and one or more QoS actions configured for
each class of traffic. The configured actions are executed on packets that match a match
statement in a class. No policy action is performed on packets that match an ignore statement.
NOTE: Be sure to enter each class and its associated QoS actions in the precise order in
which you want packets to be checked and processed by QoS actions.
To configure the QoS actions that you want to execute on packets that match the criteria in a
specified class, enter one or more class action commands from the policy configuration
context:
Context: Class configuration
Syntax:
[no] [seq-number] class [ ipv4 | ipv6 ] classname action qos-action
[ action qos action ...]
Defines the QoS actions to be applied on a pre-configured IPv4 or IPv6 traffic class
when a packet matches the match criteria in the traffic class. You can enter multiple
action statements for the same traffic class.
[no] [seq-number ] class [ ipv4 | ipv6 ] classname
seq-number (Optional) Sequentially orders the QoS
actions that you enter in a policy
configuration. Actions are executed on
matching packets in numerical order.
Default: QoS action statements are
numbered in increments of 10, starting at
10.
class [ipv4 | ipv6]
classname
Defines the preconfigured traffic class on
which the QoS actions in the policy are
Configuring classifier-based QoS 219