PurposeCommand
Configures NBAR to match Gnutella peer-to-peer
traffic.
match protocol gnutella
Configures NBAR to match Hypertext Transfer
Protocol (HTTP) traffic by URL, host, Multipurpose
Internet Mail Extension (MIME) type, or fields in
HTTP packet headers.
match protocol http
Configures NBAR to match RTP traffic.match protocol rtp
Identifies a specific QoS group value as a match
criterion.
match qos-group
Uses the source MAC address as a match criterion.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
of the specified criteria.
•
If you specify the match-all keyword, the traffic being evaluated by the traffic class must match all of
the specified criteria.
•
If you do not specify either keyword, the traffic being evaluated by the traffic class must match all of
the specified criteria (that is, the behavior of the match-all keyword is used).
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
class in the traffic policy, the first traffic class defined in the policy will be used.
Note
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.
Cisco cBR Series Converged Broadband Routers Quality of Services Configuration Guide for Cisco IOS XE Fuji
16.7.x
13
Modular Quality of Service Command-Line Interface QoS
Elements of a Traffic Policy