policer (Configuring)
语法
policer policer-name {
filter-specific;
counter {
counter-id counter-index;}
if-exceeding {
bandwidth-limit bps;
bandwidth-percent number;
burst-size-limit bytes;
}
logical-bandwidth-policer;
logical-interface-policer;
physical-interface-policer;
shared-bandwidth-policer;
then {
policer-action;
}
}
层次结构级别
[edit dynamic-profiles profile-name firewall], [edit firewall], [edit logical-systems logical-system-name firewall]
描述
配置监管器速率限制和操作。当包含在层次结构级别时 [edit firewall] , policer 语句将创建一个模板,并且您不必为每个防火墙过滤器或接口单独配置监管器。要激活监管器,必须在防火墙过滤器术语或接口中包含 policer-action 修改程序 then 。
您可以在动态客户端配置文件或动态服务配置文件中的静态防火墙过滤器或动态防火墙过滤器中配置监管器。
选项
| policer-action | 要采取的一个或多个操作:
|
| policer-name | 标识监管器的名称。这个名字可以包含字母、数字和连字符 (-),最多可以长 255 个字符。要将空格包含在名称中,请用引号 (“ ”) 将其括起来。监管器名称不能以表格 |
| then | 对匹配数据包采取的操作。 |
其余语句将单独解释。在 CLI Explorer 中搜索语句或单击语法部分中的链接语句以获取详细信息。
所需权限级别
防火墙 — 要在配置中查看此语句。
防火墙控制 — 要将此语句添加到配置中。