Specifications
B-40
Cisco MWR 2941 Mobile Wireless Edge Router Software Configuration Guide, Release 12.2(33)MRB
OL-21227-02
Appendix B Cisco MWR 2941 Router Command Reference
class-map
class-map
To create a class map to be used for matching packets to a specified class, use the class-map command
in global configuration mode. To remove an existing class map from the router, use the no form of this
command. The class-map command enters class-map configuration mode in which you can enter one of
the match commands to configure the match criteria for this class.
class map [match-all | match-any] class-map-name
no class map [match-all | match-any] class-map-name
Syntax Description
Command Default No class map is configured by default.
Command Modes Global configuration (config)
Command History
match-all (Optional) Determines how packets are evaluated when multiple match
criteria exist. Matches statements under the class map using a logical AND
function; a match requires that all statements be true. If you do not specify
the match-all or match-any keyword, the default keyword is match-all.
match-any (Optional) Determines how packets are evaluated when multiple match
criteria exist. Matches statements under this class map using a logical OR
function; a match requires that one of the statements be true. If you do not
specify the match-any or match-all keyword, the default keyword is
match-all.
class-map-name Name of the class for the class map. The name can be a maximum of
40 alphanumeric characters. The class name is used for both the class map
and to configure a policy for the class in the policy map.
Release Modification
12.0(5)T This command was introduced.
12.0(5)XE This command was integrated into Cisco IOS Release 12.0(5)XE.
12.0(7)S This command was integrated into Cisco IOS Release 12.0(7)S.
12.1(1)E This command was integrated into Cisco IOS Release 12.1(1)E.
12.2(14)SX Support for this command was introduced on Cisco 7600 series routers.
12.2(17d)SXB This command was implemented on the Cisco 7600 series routers and
integrated into Cisco IOS Release 12.2(17d)SXB.
12.2(33)SRA This command was integrated into Cisco IOS Release 12.2(33)SRA.
12.4(4)T The type stack and type access-control keywords were added to support
FPM. The type port-filter and type queue-threshold keywords were added
to support Control Plane Protection.
12.4(6)T The type logging keyword was added to support control plane packet
logging.