Cisco catalyst 6500 series Configuration Note page 162

Content switching module
Hide thumbs Also See for catalyst 6500 series:
Table of Contents

Advertisement

Configuring Source NAT for Server-Originated Connections to the VIP
inservice
!
vserver FROM-SERVERS
virtual 10.20.221.100 tcp telnet
vlan 220
serverfarm FARM2
persistent rebalance
inservice
Output of show commands:
Cat6k-2# sh mod csm 5 vser
vserver
---------------------------------------------------------------------------
FROM-CLIENTS
FROM-SERVERS
Cat6k-2# show mod csm 5 conn detail
prot vlan source
----------------------------------------------------------------------
In
TCP
Out TCP
vs = FROM-SERVERS, ftp = No, csrp = False
In
TCP
Out TCP
vs = FROM-CLIENTS, ftp = No, csrp = False
# The command shows the open connections and how they are translated.
#
# For each connection, both halves of the connection are shown.
# The output for the second half of each connection
# swaps the source and destination IP:port.
#
# The connection originated by server 10.20.220.10 is source-NAT'ed
# and source-PAT'ed (also its L4 source port needs to be translated)
# Its source IP changes from 10.20.220.10 to 10.20.220.99
# Its source L4 port changes from 32858 to 8193
Cat6k-2# show mod csm 5 real
real
-------------------------------------------------------------------------
10.20.220.10
10.20.220.20
10.20.220.30
10.20.220.10
10.20.220.20
10.20.220.30
Cat6k-2# sh mod csm 5 natpool
nat client POOL-1
Cat6k-2# sh mod csm 5 serverfarm
server farm
----------------------------------------------------------------------
FARM
FARM2
Catalyst 6500 Series Content Switching Module Configuration Note
A-8
type
prot virtual
SLB
TCP
10.20.221.100/32:23
SLB
TCP
10.20.221.100/32:23
220
10.20.220.10:32858
220
10.20.220.20:23
221
10.20.1.100:42443
220
10.20.220.10:23
server farm
FARM
FARM
FARM
FARM2
FARM2
FARM2
10.20.220.99
type
predictor
SLB
RoundRobin
SLB
RoundRobin
vlan state
221
220
destination
10.20.221.100:23
10.20.220.99:8193
10.20.221.100:23
10.20.1.100:42443
weight
state
8
OPERATIONAL
8
OPERATIONAL
8
OPERATIONAL
8
OPERATIONAL
8
OPERATIONAL
8
OPERATIONAL
10.20.220.99
netmask 255.255.255.0
nat
reals
redirect
S
3
0
S,C
3
0
Appendix A
Configuration Examples
conns
OPERATIONAL
1
OPERATIONAL
1
state
ESTAB
ESTAB
ESTAB
ESTAB
conns/hits
1
0
0
0
1
0
bind id
0
0
OL-4612-01

Advertisement

Table of Contents
loading

This manual is also suitable for:

Catalyst 6000 series

Table of Contents