hit counter script

Match-All And Match-Any Keywords Of The Class-Map Command; Input And Output Keywords Of The Service-Policy Command - Cisco cBR 8 Configuration Manual

Cbr series converged broadband routers
Table of Contents

Advertisement

match-all and match-any Keywords of the class-map Command

and then use that traffic class as a match criterion in a traffic class that uses a different match criterion type.
For example, a traffic class created with the match-any instruction must use a class configured with the
match-all instruction as a match criterion, or vice versa.
Consider this likely scenario: Suppose A, B, C, and D were all separate match criterion, and you wanted traffic
matching A, B, or C and D (i.e., A or B or [C and D]) to be classified as belonging to a traffic class. Without
the nested traffic class, traffic would either have to match all four of the match criterion (A and B and C and
D) or match any of the match criterion (A or B or C or D) to be considered part of the traffic class. You would
not be able to combine "and" (match-all) and "or" (match-any) statements within the traffic class; you would
be unable to configure the desired configuration.
The solution: Create one traffic class using match-all for C and D (which we will call criterion E), and then
create a new match-any traffic class using A, B, and E. The new traffic class would have the correct evaluation
sequence (A or B or E, which is equivalent to A or B or [C and D]).
match-all and match-any Keywords of the class-map Command
One of the commands used when you create a traffic class is the class-mapcommand. The command syntax
for the class-map command includes two keywords: match-all and match-any. The match-all and match-any
keywords need to be specified only if more than one match criterion is configured in the traffic class. Note
the following points about these keywords:
• The match-all keyword is used when all of the match criteria in the traffic class must be met in order
• The match-any keyword is used when only one of the match criterion in the traffic class must be met
• If neither the match-all keyword nor match-any keyword is specified, the traffic class will behave in

input and output Keywords of the service-policy Command

As a general rule, the QoS features configured in the traffic policy can be applied to packets entering the
interface or to packets leaving the interface. Therefore, when you use the service-policy command, you need
to specify the direction of the traffic policy by using the input or output keyword.
For instance, the service-policy output policy-map1 command would apply the QoS features in the traffic
policy to the interface in the output direction. All packets leaving the interface (output) are evaluated according
to the criteria specified in the traffic policy named policy-map1.
Note
For Cisco releases, queueing mechanisms are not supported in the input direction. Nonqueueing mechanisms
(such as traffic policing and traffic marking) are supported in the input direction. Also, classifying traffic
on the basis of the source MAC address (using the match source-address mac command) is supported
in the input direction only.
Cisco cBR Series Converged Broadband Routers Quality of Services Configuration Guide for Cisco IOS XE
Fuji 16.7.x
16
for a packet to be placed in the specified traffic class.
in order for a packet to be placed in the specified traffic class.
a manner consistent with the match-all keyword.
Modular Quality of Service Command-Line Interface QoS

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents