Snat With Cookie Load Balancing Example - Cisco 4700M Configuration Manual

Application control engine appliance security
Hide thumbs Also See for 4700M:
Table of Contents

Advertisement

NAT Configuration Examples

SNAT with Cookie Load Balancing Example

Cisco 4700 Series Application Control Engine Appliance Security Configuration Guide
5-48
interface vlan 100
mtu 1500
ip address 192.168.1.100 255.255.255.0
service-policy input NAT_POLICY
no shutdown
interface vlan 101
mtu 1500
ip address 172.27.16.100 255.255.255.0
no shutdown
The following configuration example shows those sections of the running
configuration related to the commands necessary to configure SNAT (dynamic
NAT) with cookie load balancing. Any source host that sends traffic to the VIP
20.11.0.100 is translated to one of the free addresses in the NAT pool in the range
30.11.100.1 to 30.11.200.1, inclusive. If you want to use PAT instead of NAT,
replace "nat dynamic 1 vlan 2021" with "nat dynamic 2 vlan 2021" in the
L7SLBCookie policy map.
server host http
ip address 30.11.0.10
inservice
serverfarm host httpsf
rserver http
inservice
class-map match-any vip4
2 match virtual-address 20.11.0.100 tcp eq www
class-map type http loadbalance match-any L7SLB_Cookie
3 match http cookie JG cookie-value ".*"
policy-map type loadbalance first-match L7SLB_Cookie
class L7SLB_Cookie
serverfarm httpsf
policy-map multi-match L7SLBCookie
class vip4
loadbalance vip inservice
loadbalance L7SLB_Cookie
nat dynamic 1 vlan 2021
Chapter 5
Configuring Network Address Translation
<<<<<<<<<<
OL-16202-01

Advertisement

Table of Contents
loading

This manual is also suitable for:

4700 series

Table of Contents