Juniper 交換機限速

By hack520 on

上傳限速:

root@Seoul-SW# set firewall family ethernet-switching filter 10M_Qos_Pool term 10M_Qos_Pool then policer prolexic-10M
root@Seoul-SW# set firewall policer prolexic-10M if-exceeding bandwidth-limit 10m
root@Seoul-SW# set firewall policer prolexic-10M if-exceeding burst-size-limit 1m
root@Seoul-SW# set firewall policer prolexic-10M then discard

下載限速:

root# set class-of-service interfaces ge-0/0/5 shaping-rate 50m

最終結果:

root@Seoul-SW# show firewall family ethernet-switching 
filter 10M_Qos_Pool {
 term 10M_Qos_Pool {
 then policer prolexic-10M;
 }
}
root@Seoul-SW# show firewall policer prolexic-10M
if-exceeding {
 bandwidth-limit 10m;
 burst-size-limit 1m;
}
then discard;
root# show interfaces ge-0/0/5
unit 0 {
    family ethernet-switching {
        port-mode access;
        vlan {
            members 101;
        }
        filter {
            input 10M_Qos_Pool; 
  }
 }
}


 

作者:hack520

文章链接:Juniper 交換機限速

短连接:https://zhu.vn/?p=1801

发表评论