Cisco catalyst 6500 series Configuration Note page 184

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

Advertisement

HTTP Redirect
ip address 10.20.221.2 255.255.255.0
gateway 10.20.221.1
!
vlan 220 server
ip address 10.20.220.1 255.255.255.0
!
serverfarm WWW2FARM
nat server
no nat client
real 10.20.220.10
inservice
real 10.20.220.20
inservice
!
vserver WWW2VIP
virtual 10.20.221.100 tcp www
serverfarm WWW2FARM
persistent rebalance
inservice
Output of some show commands:
# To test the configuration, the first nine requests are sent to www1.test.com requesting
# the home page "/." The 10th request is sent to http://www1.test.com/sports/.
Cat6k-2# show mod csm 6 vser deta
WWW1VIP, type = SLB, state = OPERATIONAL, v_index = 11
virtual = 10.20.211.100/32:80 bidir, TCP, service = NONE, advertise = FALSE
idle = 3600, replicate csrp = none, vlan = ALL, pending = 30
max parse len = 2000, persist rebalance = TRUE
ssl sticky offset = 0, length = 32
conns = 0, total conns = 10
Default policy:
server farm = WWW1FARM, backup = <not assigned>
sticky: timer = 0, subnet = 0.0.0.0, group id = 0
Policy
-----------------------------------------------------
SPORTPOLICY
(default)
Cat6k-2# sh mod csm 7 vser detail
WWW2VIP, type = SLB, state = OPERATIONAL, v_index = 26
virtual = 10.20.221.100/32:80 bidir, TCP, service = NONE, advertise = FALSE
idle = 3600, replicate csrp = none, vlan = ALL, pending = 30
max parse len = 2000, persist rebalance = TRUE
ssl sticky offset = 0, length = 32
conns = 0, total conns = 1
Default policy:
server farm = WWW2FARM, backup = <not assigned>
sticky: timer = 0, subnet = 0.0.0.0, group id = 0
Policy
-----------------------------------------------------
(default)
# Nine requests have matched the default policy for www1.test.com so they have been served
# by WWW1FARM. One request has matched the policy SPORTPOLICY and has been redirected to
# the second site that has then served the request.
# The following is an example of the request that was sent to www1.cisco.com asking for
# /sports/.
10.20.1.100.34589 > 10.20.211.100.80: P 1:287(286) ack 1 win 5840 (DF)
0x0000
0x0010
Catalyst 6500 Series Content Switching Module Configuration Note
A-30
Tot Conn
Client pkts
1
3
9
45
Tot Conn
Client pkts
1
5
4500 0146 763c 4000 4006 da85 0a14 0164
0a14 d364 871d 0050 ec1d 69e6 7b57 aead
Appendix A
Server pkts
1
45
Server pkts
5
E..Fv<@.@......d
...d...P..i.{W..
Configuration Examples
OL-4612-01

Advertisement

Table of Contents
loading

This manual is also suitable for:

Catalyst 6000 series

Table of Contents