Modular Quality of Service Command-Line Interface QoS
Command
match protocol gnutella
match protocol http
match protocol rtp
match qos-group
match source-address mac
Multiple match Commands in One Traffic Class
If the traffic class contains more than one match command, you need to specify how to evaluate the match
commands. You specify this by using either the match-any or match-all keyword of the class-map command.
Note the following points about the match-any and match-all keywords:
• If you specify the match-any keyword, the traffic being evaluated by the traffic class must match one
• If you specify the match-all keyword, the traffic being evaluated by the traffic class must match all of
• If you do not specify either keyword, the traffic being evaluated by the traffic class must match all of
Elements of a Traffic Policy
A traffic policy contains three elements: a traffic policy name, a traffic class (specified with the class command),
and the command used to enable the QoS feature.
The traffic policy (policy map) applies the enabled QoS feature to the traffic class once you attach the policy
map to the interface (by using the service-policy command).
A packet can match only one traffic class within a traffic policy. If a packet matches more than one traffic
Note
class in the traffic policy, the first traffic class defined in the policy will be used.
Commands Used to Enable QoS Features
The commands used to enable QoS features vary by Cisco IOS XE release. The table below lists some of the
available commands and the QoS features that they enable. For complete command syntax, see the Cisco IOS
QoS Command Reference.
of the specified criteria.
the specified criteria.
the specified criteria (that is, the behavior of the match-all keyword is used).
Cisco cBR Series Converged Broadband Routers Quality of Services Configuration Guide for Cisco IOS XE Fuji
Elements of a Traffic Policy
Purpose
Configures NBAR to match Gnutella peer-to-peer
traffic.
Configures NBAR to match Hypertext Transfer
Protocol (HTTP) traffic by URL, host, Multipurpose
Internet Mail Extension (MIME) type, or fields in
HTTP packet headers.
Configures NBAR to match RTP traffic.
Identifies a specific QoS group value as a match
criterion.
Uses the source MAC address as a match criterion.
16.7.x
13