Technical Tip: How to limit the bandwidth per interface or per port
Description
In some scenarios it may be necessary to limit the bandwidth of the traffic to save the system resources, to increase system performance, or to follow policies within a company.
Bandwidth may be limited with the traffic shaper, which may limit the traffic per policy or per IP.
This article explains how to limit the bandwidth per policy or per port using the command line interface.
Bandwidth may be limited with the traffic shaper, which may limit the traffic per policy or per IP.
This article explains how to limit the bandwidth per policy or per port using the command line interface.
Scope
FortiGate with v6.4, v7.0, v7.2.0, v7.4, v7.6.
Solution
Use the following CLI commands to limit the bandwidth at the interface or port.
For inbound bandwidth to the interface:
For inbound bandwidth to the interface:
config system interface
edit <interface_name>
set inbandwidth <bandwidth_interger>
end
edit <interface_name>
set inbandwidth <bandwidth_interger>
end
For outbound bandwidth from the interface:
config system interface
edit <interface_name>
set outbandwidth <bandwidth_interger>
end
edit <interface_name>
set outbandwidth <bandwidth_interger>
end
Related articles:
