-33
Cisco MWR 2941 Mobile Wireless Edge Router Release 3.5 Command Reference, Cisco IOS Release 15.1(3)MR
OL-26895-01
Chapter Cisco MWR 2941 Router Command Reference, Release 15.1(3)MR
class-map
Usage Guidelines Use the class-map command to specify the class that you will create or modify to meet the class-map
match criteria. This command enters class-map configuration mode in which you can enter one of the
match commands to configure the match criteria for this class. Packets that arrive at either the input
interface or the output interface (determined by how the service-policy command is configured) are
checked against the match criteria configured for a class map to determine if the packets belong to that
class.
When configuring a class map, you can use one or more match commands to specify match criteria. For
example, you can use the match access-group command, the match protocol command, or the match
input-interface command. The match commands vary according to the Cisco IOS release. For more
information about match criteria and match commands, see the “Modular Quality of Service
Command-Line Interface (CLI) (MQC)” chapter of the Cisco IOS Quality of Service Solutions
Configuration Guide.
Examples The following example specifies class101 as the name of a class, and it defines a class map for this class.
The class called class101 specifies policy for traffic that matches access control list 101.
Router(config)# class-map class101
Router(config-cmap)# match access-group 101
The following example shows how to access the class-map commands and subcommands, configure a
class map named ipp5, and enter a match statement for IP precedence 5:
Router(config)# class-map ipp5
Router(config-cmap)# match ip precedence 5
Related Commands
12.2(18)ZY The type stack and type access-control keywords were integrated into
Cisco IOS Release 12.2(18)ZY on the Catalyst 6500 series of switches
equipped with the Programmable Intelligent Services Accelerator (PISA)
Cisco IOS XE
Release 2.1
This command was implemented on Cisco ASR 1000 series routers.
12.4(20)MR This command was integrated into Cisco IOS Release 12.4(20)MR. This
release does not support the stack, access-control, logging, port-filter, and
queue-threshold parameters.
12.2(33)MRA This command was integrated into Cisco IOS Release 12.2(33)MRA. This
release does not support the stack, access-control, logging, port-filter, and
queue-threshold parameters.
15.0(1)MR This command was integrated into Cisco IOS Release 15.0(1)MR.
15.1(3)MR This command was integrated into Cisco IOS Release 15.1(3)MR.
Release Modification
Command Description
class (policy-map) Specifies the name of the class whose policy you want to create or change,
and the default class (commonly known as the class-default class) before you
configure its policy.
class class-default Specifies the default class for a service policy map.
Comments to this Manuals