EasyManuals Logo

Cisco Catalyst 6500 Series Configuration Note

Cisco Catalyst 6500 Series
212 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #71 background imageLoading...
Page #71 background image
6-7
Catalyst 6500 Series Content Switching Module Configuration Note
OL-4612-01
Chapter 6 Configuring Virtual Servers, Maps, and Policies
Configuring Virtual Servers
redirect-vserver VS1
inservice
probe TCP
!
vserver V2
virtual 10.86.213.179 tcp 82
serverfarm SF1-REDIR
persistent rebalance
inservice
!
Additional options for the redirect virtual server are available. You can adding %p to the end of the
relocation string so that it appends the remainder of the URL with the redirection. Enter CTRL+V ? to
embed a question mark into the URL. The default is to a type 302 redirect, but you can change the
redirection to a 301 as follows:
serverfarm SF1-REDIR
nat server
nat client CLIENT-NAT
redirect-vserver 22
webhost relocation www.jw?.com%p 301
inservice
You may also put https:// or ftp:// into the string, but this can also be done with the ssl word command
Any number other than 21 or 80 prepends the https:// and uses the port number given. Ports 21 and 80
prepend ftp:// and http:// respectively.
Route(config-slb-redirect-vs)# ssl ?
<1-65535> ssl port number
ftp File Transfer Protocol (21)
https Secure Hypertext Transfer Protocol (443)
www World Wide Web - Hypertext Transfer Protocol (80)
To configure redirect virtual servers, perform this task:
Command Purpose
Step 1
Router(config-slb-sfarm)# redirect-vserv-
er
name
Configures virtual servers dedicated to real servers
and enters the redirect server submode
1,
2
.
Step 2
Router(config-slb-redirect-v)# webhost
relocation
relocation string
Configures the destination URL host name when re-
directing HTTP requests arrive at this server farm.
Only the beginning of the URL can be specified in
the relocation string. The remaining portion is taken
from the original HTTP request
2
.
Step 3
Router(config-redirect-v)# webhost back-
up
backup string
Configures the relocation string sent in response to
HTTP requests in the event that the redirect server is
out of service. Only the beginning of the relocation
string can be specified. The remaining portion is
taken from the original HTTP request
2
.
Step 4
Router(config-redirect-v)# virtual
v_ipaddress
tcp
port
Configures the redirect virtual server IP address and
port
2
.
Step 5
Router(config-redirect-v)# idle
duration
Sets the CSM connection idle timer for the redirect
virtual server
2
.
Step 6
Router(config-redirect-v)# client
ip-ad-
dress network-mask
[exclude]
Configures the combination of the IP address and
network mask used to restrict which clients are
allowed to access the redirect virtual server
2
.

Table of Contents

Other manuals for Cisco Catalyst 6500 Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Cisco Catalyst 6500 Series and is the answer not in the manual?

Cisco Catalyst 6500 Series Specifications

General IconGeneral
BrandCisco
ModelCatalyst 6500 Series
CategorySwitch
LanguageEnglish

Related product manuals