beautypg.com

Browser-based web cache redirection, Browser-based web cache redirection 405 – Nortel Networks WEB OS 212777 User Manual

Page 405

background image

Web OS 10.0 Application Guide

Chapter 15: Content Intelligent Switching

n

405

212777-A, February 2002

Browser-Based Web Cache Redirection

Browser-based Web cache redirection uses the

User-agent:

header. To configure browser-

based WCR, perform the following procedure.

1.

Before you can configure header-based WCR, ensure that the switch is already config-
ured for basic SLB with the following tasks:

n

Assign an IP address to each of the real servers in the server pool.

n

Define an IP interface on the switch.

n

Define each real server.

n

Assign servers to real server groups.

n

Define virtual servers and services.

2.

Turn on URL parsing for the filter.

3.

Enable header load balancing for “User-Agent:” header.

4.

Define the host names.

5.

Apply and save your configuration changes.

6.

Identify the string ID numbers with this command.

Each defined string has an ID number.

Number of entries: four

>> # /cfg/slb/filt 1/adv/urlp enable

>> # /cfg/slb/layer7/redir/header ena useragent

>> # /cfg/slb/layer7/slb/add "Mozilla"

>> Server Load Balance Resource# add "Internet Explorer"

>> Server Load Balance Resource# add "Netscape"

>> # /cfg/slb/layer7/slb/cur

ID

SLB String

1

any

2

Mozilla

3

Internet Explorer

4

Netscape