Web OS 10.0 Application Guide386 n Chapter 15: Content Intelligent Switching 212777-A, February 2002Browser-Smart Load BalancingHTTP requests can be directed to different servers based on browser type by inspecting the“User-Agent” header. For example,GET /products/180/ HTTP/1.0User-agent: Mozilla/3.0Accept: text/html, image/gif, image/jpegTo allow the switch to perform browser-smart load balancing, perform the following proce-dure.1. Before you can configure browser-based load balancing, ensure that the switch hasalready been configured for basic SLB with the following tasks: Assign an IP address to each of the real servers in the server pool. Define an IP interface on the switch. Define each real server. Assign servers to real server groups. Define virtual servers and services.2. Turn on URL parsing for the virtual server for “User-Agent:” header.3. Define the host names.4. Configure the real server(s) to handle the appropriate load balancing string(s).N OTE – If you don't add a defined string (or add the defined string “any”), the server will han-dle any request.Use the following command to add a defined string:where ID is the identification number of the defined string.>> # /cfg/slb/virt 1/service 80/httpslb browser>> # /cfg/slb/layer7/slb/add "Mozilla">> Server Loadbalance Resource# add "Internet Explorer">> Server Loadbalance Resource# add "Netscape">> # /cfg/slb/real 2/layer7/addlb