Appendix A
Configuration Examples
L4/L7 Rejected Connections:
Checksum Failures:
Redirect Connections: 0,
FTP Connections:
MAC Frames:
HTTP Redirect
This example shows how you can configure the CSM to send HTTP redirect messages:
# This configuration represents the configuration of site A
module ContentSwitchingModule 6
vlan 211 client
ip address 10.20.211.2 255.255.255.0
gateway 10.20.211.1
!
vlan 210 server
ip address 10.20.210.1 255.255.255.0
!
map SPORTMAP url
match protocol http url /sports*
!
serverfarm REDIRECTFARM
nat server
no nat client
redirect-vserver WWW2
webhost relocation www2.test.com 301
inservice
!
serverfarm WWW1FARM
nat server
no nat client
real 10.20.210.10
inservice
real 10.20.210.20
inservice
!
policy SPORTPOLICY
url-map SPORTMAP
serverfarm REDIRECTFARM
!
vserver WWW1VIP
virtual 10.20.211.100 tcp www
serverfarm WWW1FARM
persistent rebalance
slb-policy SPORTPOLICY
inservice
# This configuration represents the configuration of site B
module ContentSwitchingModule 7
vlan 221 client
OL-4612-01
No policy: 0, No policy match 0,
No real: 0, ACL denied 0,
Server initiated: 0
IP: 0, TCP: 0
Redirect Dropped: 0
0
Tx: Unicast: 359, Multicast: 0, Broadcast: 8,
Underflow Errors: 0
Rx: Unicast: 387, Multicast: 221, Broadcast: 1,
Overflow Errors: 0, CRC Errors: 0
Catalyst 6500 Series Content Switching Module Configuration Note
HTTP Redirect
A-29