4-39
Cisco 4700 Series Application Control Engine Appliance Administration Guide
OL-11157-01
Chapter 4 Configuring Class Maps and Policy Maps
Configuring Layer 7 Class Maps
Defining Layer 7 Classifications for HTTP Server Load Balancing
A Layer 7 HTTP server load-balancing class map contains match criteria that
classifies specific Layer 7 network traffic. You create a Layer 7 server
load-balancing class map based on HTTP cookies, HTTP headers, HTTP URLs,
protocol header fields, or source IP addresses.
The Layer 7 HTTP server load balancing has the following features:
•
Regular expression matching against the received packet data from a
particular connection based on the cookie expression
•
Regular expression matching against the received packet data from a
particular connection based on the HTTP header expression
•
Regular expression matching against the received packet data from a
particular connection based on the HTTP URL string.
•
Server load-balancing decisions based on a client source IP address
•
Nesting of class maps to achieve complex logical expressions for Layer 7
HTTP-based server load balancing
To create a Layer 7 class map for HTTP server load balancing, use the
class-map
type http loadbalance
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 a Layer 7 HTTP
server load-balancing class map to define multiple URLs, cookies, and HTTP
headers 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 Layer 7 HTTP
load-balancing class map.
The syntax of this command is:
class-map
type http loadbalance
[
match-all
|
match-any
]
map_name