分类: 系统运维
2007-10-18 10:43:34
ip inspect name web http java-list 1 urlfilter
设置网页url检测组名称: p- c* }9 A. S( }7
Wip urlfilter allow-mode off
设置url的allow-mode 模式为off,即所有网页都不能通过# M# [' R, S2 w8 @( t B: b% p
. A% X7 S' Z# Z& y6 A ]1 C
ip urlfilter exclusive-domain permit .sina.com.cn
设置允许url中 地址包括 .sina.com.cn 的通过4
i
ip inspect web in6 d n4 y' @6 r1 m) [' W# K2 D
将url检测组web应用到f0/1端口,则f0/1端口的用户只能访问 新浪 网站,其他不能访问。如果不被应用则不生效1 f5 n4 D$ x' ^: ^ `9 z6 L
9 g! [% I% ]- b7 M
access-list 1 permit any
ip urlfilter allow-mode on4 r6 s0 [6 N; F
设置url的allow-mode 模式为on,即所有网页都能访问1 y! P; h# O7 x' |
; gip urlfilter exclusive-domain deny .sina.com.cn
设置禁止的url地址包括 .sina.com.cn & q- Y0 @# A. L: ` l
4 Eint f0/16 a# P, D- Q# I9 N0 R5 t3 o
ip inspect web in: N C& L4 P3 I+ o U
将url检测组web应用到f0/1端口,则f0/1端口的用户能所有网站,只是不能访问sina。如果不被应用则不生效。, |1 w7 C) @- c3 A4 e
; M2 F& K _( x# z
Access-list 1 permit any
增加Java-list 1 的目的是减少cup负荷,如果没有java-list ,cup会对每个java程序进行检测。#