首页 > 学院 > 网络通信 > 正文

time-range配置举例

2019-11-04 22:05:12
字体:
来源:转载
供稿:网友

  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 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

发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表