Traffic shaping profiles, diagnose netlink interface list show Qdisc=noqueue
Hi team,
I am currently testing Traffic Shaping Profile in v7.2.8 FortiGate 601F with NP7 (default-qos-type: policing, as shaping is not recommended).
NP7 traffic shaping | FortiGate / FortiOS 7.2.8 | Fortinet Document Library
I find the netlink interface shows "Qdisc=noqueue" and the guaranteed bandwidth in profile is not working. I set one to 99% and other 1%, but iperf test has no difference, they share 50-50% traffic.
But the maximum bandwidth in profile is working, if I set 5%, the iperf result shows down to 5Mbps immediately.
From the admin guide, I see the log is Qdisc=pfifo_fast.
Traffic shaping profiles | FortiGate / FortiOS 7.2.8 | Fortinet Document Library
Any idea to config FortiGate to use Qdisc=pfifo_fast, so that to further test the Traffic shaping profiles?
Netlink:
config system interface
edit <VPN interface>
set vdom "root"
set ip x.x.x.x 255.255.255.255
set type tunnel
set outbandwidth 100000
set egress-shaping-profile "Profile-2"
set remote-ip x.x.x.x 255.255.255.255
set snmp-index xxx
set interface "xxx"
next
end
config firewall shaping-profile
edit "Profile-2"
set default-class-id 2
config shaping-entries
edit 2
set class-id 2
set priority low
set guaranteed-bandwidth-percentage 1
set maximum-bandwidth-percentage 100
next
edit 3
set class-id 3
set priority top
set guaranteed-bandwidth-percentage 99
set maximum-bandwidth-percentage 100
next
end
next
end
Thanks!
Marcus
