Web OS 10.0 Application Guide
12.
Create a default filter for noncached traffic on the switch.
>> # /cfg/slb/filt <filter number>
>> Filter <filter number># sip any
>> Filter <filter number># dip any
>> Filter <filter number># proto any
>> Filter <filter number># action allow
>> Filter <filter number># ena
>> Filter <filter number># port <port number>
N
OTE
13.
Turn on filtering for the port.
>> SLB <port number># filt ena
14.
Add the filters to the client port.
>> SLB <port number># add <filter number>
15.
Enable Direct Access Mode (DAM) on the switch.
>> SLB <port number># ../adv
>> Layer 4 Advanced# direct ena
16.
Enable, apply, and verify the configuration.
>> # /cfg/slb
>> # on
>> # apply
>> # cur
Viewing Statistics for URL-Based Web Cache Redirection
To show the number of hits to the cache server or origin server, use this command:
>> # /stats/slb/layer7/redir
Total URL based Web cache redirection stats:
Total cache server hits:
Total origin server hits:
Total none-GETs hits:
Total 'Cookie: ' hits:
Total no-cache hits:
n
402
Chapter 15: Content Intelligent Switching
–
When the proto parameter is not tcp or udp, then sport and dport are ignored.
(Select the default filter)
(From any source IP addresses)
(To any destination IP addresses)
(For any protocol traffic)
(Set the action to allow traffic)
(Enable the default filter)
(Assign the default filter to a port)
(Select the SLB Menu)
(Turn SLB on)
(Make your changes active)
(View current settings)
73942
2244
53467
729
43
212777-A, February 2002