Chapter 2
Classifying Traffic
Command Default
Per-match is the default mode.
qos match statistics Command History
Cisco IOS Release
Release 12.2(31)SB2
Usage Guidelines for the qos match statistics Command
This command does not allow a no form of the command. The command operates in either per-match
mode or per-class mode. Specifying one mode automatically negates the current mode.
The Cisco 10000 series router with a PRE3 supports 262,144 unique class maps per system in per-match
mode and 4,194,304 unique class maps per system in per-class mode. Per-class mode provides greater
QoS scalability.
This command is not available on the PRE2. Due to memory limitations, the PRE2 supports a maximum
of 262,000 class maps per system.
When using the show commands in per-class mode, the per-match statistics display with a value of zero.
In per-class mode, the per-match statistics are zero in the MIB.
Defining Match Criteria Using the match Commands
To define the classification criteria for a class map, use the match commands in class-map configuration
mode. The match statements you define are the criteria the router uses to classify packets. To remove a
match statement, use the no form of this command. The router defaults to match-all.
Command
Router(config-cmap)# match access-group {number |
name}
Router(config-cmap)# match-all
Router(config-cmap)# match-any
OL-7433-09
Description
This command was introduced and implemented on the Cisco 10000 series
router for the PRE3.
Purpose
Specifies that the packet must be permitted by the specified access
control list (ACL).
number identifies the ACL applied to an interface. Valid values are
from 1 to 2699.
name specifies that the packet must be permitted by the access list
whose name is name. The name can be a maximum of
40 alphanumeric characters.
Specifies that the packet must match all of the matching criteria
defined for a class map.
Specifies that the packet must match at least one of the matching
criteria defined for a class map.
Cisco 10000 Series Router Quality of Service Configuration Guide
Traffic Classification Using Class Maps
2-5