Technical Tip: Traffic shaper and bandwidth unit display
Description
This article describes bandwidth unit differences.
Solution
- MAX bandwidth unit is configured on mbps default:
config firewall shaper traffic-shaper
edit profile-Melb
(profile-Melb)get
name : MS-Updates-Melb
guaranteed-bandwidth: 0
maximum-bandwidth : 30
bandwidth-unit : mbps <----- mbit.
priority : medium
per-policy : enable
diffserv : disable
Note: to change the bandwidth-unit, follow the process below.
The 'bandwidth-unit' parameter cannot be set for a FortiGate running on 32-bit processors.
To check if FortiGate is using a 32-bit or 64-bit processor:
Technical Tip: Check whether FortiGate is running 32-bit or 64-bit firmware.
config firewall shaper traffic-shaper
edit profile-Melb
set bandwidth-unit
kbps Kilobits per second.
mbps Megabits per second.
gbps Gigabits per second.
- However, when the diagnose command runs to check the shaper traffic-shaper list, see the unit in Kbytes.
diagnose firewall shaper traffic-shaper list
name MS-Updates-Melb
maximum-bandwidth 3840 KB/sec <----- Kbytes.
guaranteed-bandwidth 0 KB/sec
current-bandwidth 0 B/sec
priority 3
tos ff
packets dropped 0
bytes dropped 0
As a result, the configuration unit is in mbit.
