You should assign less important services a low priority. For example, you should assign a high traffic priority to a policy for connecting a secure web server that needs to support e-commerce traffic. FortiOS provides bandwidth to low priority connections only when high priority connections do not need the bandwidth. In a shared traffic shaper, the administrator can prioritize certain traffic as high, medium, or low. Otherwise, the interface will allow very little or no other traffic to pass through, potentially causing unwanted latency. When setting the guaranteed bandwidth, ensure that the value is significantly less than the interface’s bandwidth capacity. The guaranteed bandwidth ensures that there is a consistent reserved bandwidth available. If you want to allow unlimited bandwidth, use the CLI to enter a value of 0. The GUI displays an error if any value outside this range is used. You can set the maximum bandwidth to a value between 6000 Kbps. The maximum bandwidth indicates the largest amount of traffic allowed when using the policy. Shared traffic shaper is used in a firewall shaping policy to indicate the priority and guaranteed and maximum bandwidth for a specified type of traffic use. All the other traffic is prioritized as low.Ĭonfig system global set traffic-priority-level low endĬonfig system tos-based-priority edit 1 set tos 10 set priority medium The following configuration shows that packets with ToS bit values of 10 are prioritized as medium and packets with ToS bit values of 20 are prioritized as high.
You can also prioritize packets according to the ToS bit value in the packet’s IP header by using the following command: config system tos-based-priority edit set tos You can use the following command to configure the default system-wide level of priority:Ĭonfig system global set traffic-priority-level ToS-based traffic prioritization cannot be used to apply bandwidth limits and guarantees, but it can be used to prioritize traffic at per-packet levels. This traffic prioritization method puts packets into the following queues based on its Type of Service (ToS) value: l High l Medium l Low
Set inbandwidth 200 set outbandwidth 400 …. On the FortiGate, configure the interface bandwidth limit:.To configure an interface bandwidth limit on the FortiOS CLI: Enable Outbound Bandwidth and type 400.Enable Inbound Bandwidth and type 200.Go to the Traffic Shaping section, and set the following options:.Click interface port1, and click Edit on top menu bar.To configure an interface bandwidth limit on the FortiOS GUI: The following diagram shows how excess packets going from LAN to WAN1 can be intercepted and dropped at the source interface. A similar command is available to the outgoing interface.
Rather than waste processing power on packets that will get dropped later in the process, you can configure FortiGate to preemptively drop excess packets when they’re received at the source interface. In some cases, the traffic received on an interfaces could exceed the maximum bandwidth limit defined in the security policy. You can limit interface bandwidth for arriving and departing traffic.