FortiGate 流量整形限速

单IP限速2M,共享带宽15M

config firewall shaper per-ip-shaper
    edit "2M"
        set max-bandwidth 2000
    next
end

config firewall shaper traffic-shaper
    edit "15M"
        set maximum-bandwidth 15000
        set priority medium
    next
end
config firewall shaping-policy
    edit 1
        set service "ALL"
        set dstintf "wan1"
        set traffic-shaper "15M"
        set traffic-shaper-reverse "15M"
        set per-ip-shaper "2M"
        set srcaddr "all"
        set dstaddr "all"
    next
end

你可能感兴趣的:(网络)