Nortel Networks 212777 Network Router User Manual


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