Technical data

Brocade ServerIron ADX Advanced Server Load Balancing Guide 107
53-1003441-01
Sample configurations
2
In the same way, Access List “102” is tied under Cache Group 2. The filter-acl 102 command
diverts all the traffic that was originally destined to Web Server 2 (IP address 10.1.1.2) to cache 3
(ch3) and cache 4 (ch4).
The server cache-bypass 103 command divert all the traffic to Internet Web Server 3 (IP address
10.1.1.3). The fundamental use of the server cache-bypass command is to skip the caching
mechanism and send web queries directly to the Internet.
Policy-based caching configuration
The following configuration implements the topology described in Figure 24.
NOTE
This example shows commands that are valid on the ServerIron ADX device only when it is running
the Layer 3 router image.
ServerIronADX(config)#server cache-name ch1 10.40.40.100
ServerIronADX(config-rs-ch1)#port http
ServerIronADX(config-rs-ch1)#exit
ServerIronADX(config)#server cache-name ch2 10.40.40.101
ServerIronADX(config-rs-ch2)#port http
ServerIronADX(config-rs-ch2)#exit
ServerIronADX(config)#server cache-name ch3 10.40.40.102
ServerIronADX(config-rs-ch3)#port http
ServerIronADX(config-rs-ch3)#exit
ServerIronADX(config)#server cache-name ch4 10.40.40.103
ServerIronADX(config-rs-ch4)#port http
ServerIronADX(config-rs-ch4)#exit
ServerIronADX(config)#server cache-group 1
ServerIronADX(config-tc-1)#cache-name ch1
ServerIronADX(config-tc-1)#cache-name ch2
ServerIronADX(config-tc-1)#filter-acl 101
ServerIronADX(config-tc-1)#exit
ServerIronADX(config)#server cache-group 2
ServerIronADX(config-tc-2)#cache-name ch3
ServerIronADX(config-tc-2)#cache-name ch4
ServerIronADX(config-tc-2)#filter-acl 102
ServerIronADX(config-tc-2)#exit
ServerIronADX(config)#server cache-bypass 103
ServerIronADX(config)#access-list 101 permit tcp any host 10.1.1.1
ServerIronADX(config)#access-list 102 permit tcp any host 10.1.1.2
ServerIronADX(config)#access-list 103 permit tcp any host 10.1.1.3