Chapter 4
Configuring Class Maps and Policy Maps
Creating a Layer 3 and Layer 4 Network Traffic Class Map
OL-11157-01
To create a Layer 3 and Layer 4 class map to classify network traffic passing
through the ACE, use the class-map command in configuration mode.
A single class map can have multiple match commands that you can use to
specify the matching criteria. For example, you can configure class maps to define
multiple access group, source IP address, destination IP address, or port
commands in a group that you then associate with a traffic policy. The match-all
and match-any keywords determine how the ACE evaluates multiple match
statements operations when multiple match criteria exist in a class map.
The syntax of this command is:
class-map [match-all | match-any] map_name
The arguments and options are:
match-all | match-any—(Optional) Determines how the ACE evaluates
•
Layer 3 and Layer 4 network traffic when multiple match criteria exist in a
class map. The class map is considered a match if the match commands meet
one of the following conditions:
match-all —All of the match criteria listed in the class map match the
–
network traffic class in the class map (typically match commands of
different types).
match-any—Only one of the match criteria listed in the class map
–
matches the network traffic class in the class map (typically match
commands of the same type).
The default setting is to meet all of the match criteria (match-all) in a class
map.
map_name—Name assigned to the class map. Enter an unquoted text string
•
with no spaces and a maximum of 64 alphanumeric characters.
Cisco 4700 Series Application Control Engine Appliance Administration Guide
Configuring Layer 3 and Layer 4 Class Maps
4-25