Configuring the Content Switching Module

 

Command

Purpose

Step 5

 

 

Router(config-redirect-v)# idle duration

Set the CSM connection idle timer for the redirect

 

 

virtual server2.

Step 6

 

 

Router(config-redirect-v)# client

Configure the combination of the ip-addressand

 

ip-address network-mask [exclude]

network-maskused to restrict which clients are

 

 

allowed to access the redirect virtual server2.

Step 7

 

 

Router(config-redirect-v)# inservice

Enable the redirect virtual server and begin

 

 

advertisements2.

Step 8

 

 

Router# show ip slb vserver redirect

Show all redirect servers configured.

 

[detail]

 

 

 

 

1.Enter the exit command to leave a mode or submode. Enter the end command to return to the menu’s top level.

2.The no form of this command restores the defaults.

This example shows how to configure redirect virtual servers to specify virtual servers to real servers in a server farm:

Router (config)# ip slb serverfarm FARM1

Router (config-slb-sfarm)# redirect-vserver REDIR_1

Router (config-slb-redirect-)# webhost relocation relo 301

Router (config-slb-redirect-)# virtual 172.1.2.30 tcp www

Router (config-slb-redirect-)# inservice

Router (config-slb-redirect-)# exit

Router (config-slb-sfarm)# redirect-vserver REDIR_2

Router (config-slb-redirect-)# webhost relocation relo 301

Router (config-slb-redirect-)# virtual 172.1.2.31 tcp www

Router (config-slb-redirect-)# inservice

Router (config-slb-redirect-)# exit

Router (config-slb-sfarm)# real 10.8.0.8

Router (config-slb-real)# redirect-vserver REDIR_1

Router (config-slb-real)# inservice

Router (config-slb-sfarm)# real 10.8.0.9

Router (config-slb-real)# redirect-vserver REDIR_2

Router (config-slb-real)# inservice

Router (config-slb-real)# end

Router# show ip slb serverfarm detail

Configuring Client NAT Pools

When you configure client Network Address Translation (NAT) pools, NAT converts the source IP address of the client requests into an IP address on the server-side VLAN. Use the NAT pool name in the server farm submode, using the nat command, to specify which connections need to be client NATed.

To configure client NAT pools, perform this task:

 

Command

Purpose

Step 1

 

 

Router(config)# ip slb natpool pool-name

Configure a content switching NAT. You must

 

start-ip end-ip netmask mask

create at least one client address pool to use this

 

 

command1, 2.

Step 2

Router(config)# ip slb serverfarm

Enter the server farm submode to apply the

 

serverfarm-name

client NAT.

 

 

 

 

 

Catalyst 6000 Family Content Switching Module Installation and Configuration Note

 

 

 

 

 

 

 

78-11631-02 Rev. A0

 

 

33

 

 

 

 

 

Page 33
Image 33
Cisco Systems 6000 manual Configuring Client NAT Pools