14-64
User
Guide

for

the

Cisco

Application

Networking

Manager

5.2
OL-26572-01
Chapter
14






Configuring

Traffic

Policies
Configuring
Rules

and

Actions

for

Policy

Maps
Step
7
For
specific

class

maps

and

match

conditions,

in

the

Insert

Before

field,

indicate

whether

this

rule

is

to
precede
another

defined

policy

rul

e

by

choosing

one

of

the

following:


N/A—Indicates
that

this
option
is

not
applicable.


Fa
l

s

e

—Indicates

that

this

rule

is

not

to

precede

another
defined
policy
rule.


Tr
u

e

—Indicates

that

this

rule

is

to

precede

another

policy
rule.
If
you

select

True,

in

the

Insert

Before

Policy

Rule

field,

select

the

policy

rule

that

this

rule

is

to
precede.
Step
8
Do
one

of

the

following:


Click
Deploy
Now

to

deploy
this
configuration

on

t

he
ACE

and

save

your

entries

t

o

the
running-configuration
and

startup-configuration

files.

The

window

refreshes

and

the

Action

table
appears.
To

define

the

actions

for

this

rule,

continue

with

Step

9

.


Click
Cancel
to
exit

this

procedure

without
saving
your

entries

and

to

return

to

the
Rule
table.


Click
Next
t

o
deploy
your

entries

and

to
configure
another
rule.
HTTP
URL
Rule
that

performs

regular

expression

matching

against

the

received

packet

data

from

a

particular
connection
based

on

the

HTTP

URL

string.
Do
the

following:
a.
In
the

URL

Expression
field,
enter

a

URL,

or

por

tion

of

a

U

RL,
to
match.

Valid

entries

ar

e
URL
strings

fr

om

1

t

o

255

al

phanumeric

characters.

Include

onl

y

t

he

portion

of

the

URL
following
www.hostname.

domain

in

the

match

statement.

For

example,

in

the

URL
www.anydomain.com/latest/whatsnew.html,
include

only

/latest/whatsnew.html.

To

match

the
www.anydomain.com
portion,

the

URL

string

can

take

the

form

of

a

URL

regular

expression.
The
ACE

supports

regular

expressions

for

matching

URL

strings.

See

Ta

b

l

e


14-33

for

a

list

of
the
supported

characters

that

you

c

an

use

in

regular

expressions.
b.
In
the

Method

Expression

field,

enter

the

HTTP

method

to

match.

Valid

entries

are

unquoted
text
strings

with

no

spa

ces

and

a

ma

ximum

of

15


alphanumeric

characters.

The

method

can
either
be

one

of

the

standard

HTTP

1.1

method

names

(OPTIONS,

GET,

HEAD,

POST,

PUT,
DELETE,
TRACE,

or

CONNECT)

or

a

text

string

that

must

be

matched

exactly

(for

example,
CORVETTE).
Source
Address
Client
source

IP

address

that

is

used

to

establish

match

conditions.
Do
the

following:
a.
In
the

IP

Address

Type

field,

choose

ei

ther
IPv4
or

IPv6.

This
field
appears

onl

y

for


ACE
module
and

ACE

appliance

software

Version

A5(1.0)

or

later,

which

supports

IPv4

and

IPv6.
b.
In
the

Source

IP

v4/v6
Address
field,

enter

the

source

IP

address

of
the
client

in

the

format
based
on

the

address

type

(I

Pv4

or

IPv

6).
c.
Depending
on

the

IP

ad

dress

type

that
you
chose,

do

one


of

t

he
following:


For

IPv4,

from

the

Source

Netmask

field,

choose

the

subnet

mask

of

the

IP

address.


For

IPv6,

from

the

Source

Prefix-length

field,

enter

the

prefix

length

for

the

address.
Table
14-25
Layer
7

Server

Load

Balancing

Policy

Map

Match

Conditions

(continued)
Match
Condition
Description