注册 | 登录 忘记密码? 51cto首页 | 博客 | 论坛 | 招聘
热点文章 网工人才缺口大 传统网管..
 帮助

用WCCP(web cache communication protocol)来配置Web cache服务


2007-02-06 01:12:19
 标签:配置 路由 web   [推送到技术圈]

版权声明:原创作品,谢绝转载!否则将追究法律责任。
配置ROUTED INTERFACE并启用WEB CACHE服务。
f0/2连接一台PC,f0/11连接web cache.

Switch

conf t
ip wccp web-cache                 /*启用WEB CACHE服务
int f 0/11
no switchport
ip ad 10.1.1.7 255.255.255.0
no shut
exit
int f 0/2
no switchport
ip ad 10.1.2.7 255.255.255.0
no shut
ip wccp web-cache redirect in   /*在交换机只有in关键字,在路由器上既有in,又有out
end
在SVI端口启用WEB CACHE服务。
f0/12连接WEB 服务器,属于VLAN 3.IP 地址为10.1.10.7/24。f0/17连接WEB CACHE,属于VLAN 4,IP地址为10.1.11.7/24。f0/13~f0/16连接4台PC,属于VLAN 5,IP地址为10.1.12.7/24

switch

conf t
vlan 3
exit
vlan 4
exit
vlan 5
exit
int f 0/12
switchport mo a
switchport a vlan 3
exit
int f 0/17
switchport mo a
switchport a vlan 4
exit
int range f 0/13 -16
switchport mo a
switchport a vlan 5
exit
ip wccp web-cache
int vlan 3
ip ad 10.1.10.7 255.255.255.0
exit
int vlan 4
ip ad 10.1.11.7 255.255.255.0
exit
int vlan 5
ip ad 10.1.12.7 255.255.255.0
ip wccp web-cache redirect in
end

本文出自 “穿过地狱去看海” 博客,谢绝转载!





    文章评论
 
2007-02-07 01:54:36
博主告诉我们,WEB服务,是这样配成的。可我还是看不懂。。。

2007-02-07 12:12:26
这个配置是将用户访问外部网站的信息存储在WEB CACHE里,当用户重新访问这些网站的时候,就直接从WEB CACHE里访问就可以了,这样可以提高用户访问的速度。并不是楼上所说的WEB 服务

2007-02-07 19:41:08
说过看不懂了,再说WEB服务是缩略语,懂什么呀

2007-02-07 19:44:14
楼上的,不懂不是你的错,说出来就是你的不对了

2008-06-17 13:57:35
博主请问,in 和out参数如何确定,是否根据web server 以及pc的相对位置。 在IE的考试中,好像没有明确定义这个相对位置,in和out该如何确定呢?

 

发表评论

昵   称:
验证码:  点击图片可刷新验证码  博客过2级,无需填写验证码
内   容: