在Cisco 的路由器上有定时访问列表的功能,可以非常灵活地限定某些应用在一定的时间上可以传输。下
面是一个例子:
The following example permits SPX traffic only on Monday through Friday between the hours of
8:00 am and 6:00 pm on IPX:
time-range no-spx
更多资源请关注鸿鹄论坛:http://bbs.hh010.com
periodic weekdays 8:00 to 18:00
!
ipx access-list extended test
permit spx any all any all time-range no spx
!
The following example denies HTTP traffic on Monday through Friday between the h
ours of
8:00 am and 6:00 pm on IP. The example allows UDP traffic on Saturday and Sun
day from noon to
8:00 pm only.
time-range no-http
periodic weekdays 8:00 to 18:00
!
time-range udp-yes
periodic weekend 12:00 to 20:00
!
ip access-list extended strict
deny tcp any any eq http time-range no-http
permit udp any any time-range udp-yes
!
interface ethernet 0
ip access-group strict in