time-range配置举例

发表于:2007-06-23来源:作者:点击数: 标签:

   
  The following example denies HTTP traffic on Monday through Friday between the hours of 8:00 am and 6:00 pm. The example allows UDP traffic on Saturday and Sunday from noon to midnight only.
  
  time-range no-http
  
  

  
  periodic weekdays 8:00 to 18:00
  
  
  
  !
  
  
  
  time-range udp-yes
  
  
  
  periodic weekend 12:00 to 24:00
  
  
  
  !
  
  
  
  ip aclearcase/" target="_blank" >ccess-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

原文转自:http://www.ltesting.net