Juniper srx系列防火墙端口限速

Posted ID404

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Juniper srx系列防火墙端口限速相关的知识,希望对你有一定的参考价值。

限制上传速度(应用到内网接口)
set firewall family inet filter upload-limit term 0 from source-address 192.168.0.16/32
set firewall family inet filter upload-limit term 0 then policer upload-1mb
set firewall family inet filter upload-limit term 0 then accept
set firewall family inet filter upload-limit term 1 from source-address 192.168.0.0/24
set firewall family inet filter upload-limit term 1 then policer upload-9mb
set firewall family inet filter upload-limit term 1 then accept
set firewall family inet filter upload-limit term 2 then accept (其它网段不限速)
set firewall policer upload-1mb if-exceeding bandwidth-limit 1m
set firewall policer upload-1mb if-exceeding burst-size-limit 625k
set firewall policer upload-1mb then discard
set firewall policer upload-9mb if-exceeding bandwidth-limit 3m
set firewall policer upload-9mb if-exceeding burst-size-limit 625k
set firewall policer upload-9mb then discard
应用到内网接口
set interfaces vlan unit 100 family inet filter input upload-limit

限制下载速度(应用到内网接口)
set firewall family inet filter download-limit term 0 from destination-address 192.168.0.222/32
set firewall family inet filter download-limit term 0 then policer download-1mb
set firewall family inet filter download-limit term 0 then accept
set firewall family inet filter download-limit term 1 from destination-address 192.168.0.0/24
set firewall family inet filter download-limit term 1 then policer download-9mb
set firewall family inet filter download-limit term 1 then accept
set firewall family inet filter download-limit term 2 then accept (其它网段不限速)
set firewall policer download-1mb if-exceeding bandwidth-limit 1m
set firewall policer download-1mb if-exceeding burst-size-limit 625k
set firewall policer download-1mb then discard
set firewall policer download-9mb if-exceeding bandwidth-limit 3m
set firewall policer download-9mb if-exceeding burst-size-limit 625k
set firewall policer download-9mb then discard
应用到内网接口
set interfaces vlan unit 100 family inet filter output download-limit

以上是关于Juniper srx系列防火墙端口限速的主要内容,如果未能解决你的问题,请参考以下文章

h3c交换机端口限速

juniper srx550怎样配置端口映射功能

华为交换机端口限速配置

Juniper SRX240 端口映射配置

如何设置交换机限速

一台全新的华为Quidway S2300 系列交换机,如何端口限速,