Chinaunix首页 | 论坛 | 博客
  • 博客访问: 15958916
  • 博文数量: 7460
  • 博客积分: 10434
  • 博客等级: 上将
  • 技术积分: 78178
  • 用 户 组: 普通用户
  • 注册时间: 2008-03-02 22:54
文章分类

全部博文(7460)

文章存档

2011年(1)

2009年(669)

2008年(6790)

分类: 系统运维

2008-05-20 10:16:43

firewall {
filter Rate-limit {
policer 10.1.0.0_2m {
if-exceeding {
bandwidth-limit 2m;
burst-size-limit 200k;
}
then discard;
}
policer 10.2.0.0_10m {
if-exceeding {
bandwidth-l imit 10m;
burst-size-limit 1m;
}
then discard;
}
term 10.1.0.0 {
from {
source-address {
10.1.0.0/24;
}
}
then {
count 2m-accepted;
policer 10.1.0.0._2m;
accept;
}
term 10.2.0.0 {
from {
source-address {
10.2.0.0/24;
}
}
then {
count 10m-accepted;
policer 10.2.0.0_10m;
accept;
}
term final {
then accept;
}
}
}

阅读(585) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~