Command
Step 5
Router(config-redirect-v)# idle duration
Step 6
Router(config-redirect-v)# client
ip-address network-mask [exclude]
Step 7
Router(config-redirect-v)# inservice
Step 8
Router# show ip slb vserver redirect
[detail]
1.
2.
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
Step 1
Router(config)# ip slb natpool pool-name
start-ip end-ip netmask mask
Step 2
Router(config)# ip slb serverfarm
serverfarm-name
78-11631-02 Rev. A0
Enter the exit command to leave a mode or submode. Enter the end command to return to the menu's top level.
The no form of this command restores the defaults.
Catalyst 6000 Family Content Switching Module Installation and Configuration Note
Configuring the Content Switching Module
Purpose
Set the CSM connection idle timer for the redirect
2
virtual server
.
Configure the combination of the ip-address and
network-mask used to restrict which clients are
allowed to access the redirect virtual server
Enable the redirect virtual server and begin
2
advertisements
.
Show all redirect servers configured.
Purpose
Configure a content switching NAT. You must
create at least one client address pool to use this
1, 2
command
.
Enter the server farm submode to apply the
client NAT.
2
.
33