A-17
Catalyst 6500 Series Content Switching Module Configuration Note
OL-4612-01
Appendix A Configuration Examples
Server Names
probe PING
probe HTTP
!
vserver FTP
virtual 10.20.221.100 tcp ftp service ftp
serverfarm FTPFARM
persistent rebalance
inservice
!
vserver WEB
virtual 10.20.221.100 tcp www
serverfarm WEBFARM
persistent rebalance
inservice
!
Output of some show commands:
Cat6k-2# sh mod csm 5 probe detail
probe type port interval retries failed open receive
---------------------------------------------------------------------
PING icmp 2 2 10 2
real vserver serverfarm policy status
------------------------------------------------------------------------------
10.20.220.20:21 FTP FTPFARM (default) OPERABLE
10.20.220.10:21 FTP FTPFARM (default) OPERABLE
10.20.220.20:80 WEB WEBFARM (default) OPERABLE
10.20.220.10:80 WEB WEBFARM (default) OPERABLE
FTP ftp 5 2 20 3 3
Expected Status Codes:
0 to 999
real vserver serverfarm policy status
------------------------------------------------------------------------------
10.20.220.20:21 FTP FTPFARM (default) OPERABLE
10.20.220.10:21 FTP FTPFARM (default) OPERABLE
HTTP http 5 2 10 2 2
Probe Request: HEAD /
Expected Status Codes:
200 to 299
real vserver serverfarm policy status
------------------------------------------------------------------------------
10.20.220.20:80 WEB WEBFARM (default) OPERABLE
10.20.220.10:80 WEB WEBFARM (default) OPERABLE
Cat6k-2# show mod csm 5 real
real server farm weight state conns/hits
-------------------------------------------------------------------------
SERVER1 FTPFARM 8 OPERATIONAL 0
SERVER2 FTPFARM 8 OPERATIONAL 0
SERVER1 WEBFARM 8 OPERATIONAL 0
SERVER2 WEBFARM 8 OPERATIONAL 0
# Taking a server out of service at the server farm level will only take the server out of
# service for that specific farm
Cat6k-2# conf t
Enter configuration commands, one per line. End with CNTL/Z.
Cat6k-2(config)# mod csm 5
Cat6k-2(config-module-csm)# serv webfarm
Cat6k-2(config-slb-sfarm)# real name server1
Cat6k-2(config-slb-real)# no inservice
Cat6k-2(config-slb-real)# end