34
Catalyst 6000 Family Content Switching Module Installation and Configuration Note
78-11631-02 Rev. A0
Writing and Restoring Configurations
This example shows how to configure client NAT pools:
Router(config)#
ip slb natpool
pool1
102.36.445.2 102.36.16.8 netmask 255.255.255.0
Router(config)#
ip slb serverfarm farm1
Router(config-slb-sfarm)#
nat client pool1
Configuring Server NAT
Server NAT allows you to support connections initiated by real servers and to provide a default
configuration used for servers initiating connections that do not have matching entries in the server NAT
configuration.
To configure NAT for the server, perform this task:
Writing and Restoring Configurations
For information about saving and restoring configurations, refer to the
Catalyst 6000 Family
IOS Software Configuration Guide
.
Step 3
Router(config-slb-serverfarm)#
nat
clientpool-name
Associate the configured NAT pool with the
server farm.
Step 4
Router#
show ip slb natpool
[
name
pool-name
]
[
detail
]
Display the NAT configuration.
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.
Command
Purpose
Command
Purpose
Router(config)#
ip slb static
[
drop
|
nat
[
ipaddress
|
virtual
]]
Configure the server-originated connections.
Options include dropping them, NATing them with a
given IP address, or NATing them with the virtual IP
address that they are associated with
1,
2
.
Note
By default, the CSM allows
server-originated connections without NAT.
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.