Fortinet Document Library

Version:


Table of Contents

Cookbook

6.2.0
Download PDF
Copy Link

Changing traffic shaper bandwidth unit of measurement

Bandwidth speeds are measured in kilobits per second (Kbps), and bytes that are sent and received are measured in megabytes (MB). In some cases, this can cause confusion depending on whether your ISP uses kilobits per second (Kbps), kilobytes per second (KBps), megabits per second (Mbps), or gigabits per second (Gbps).

You can change the unit of measurement for traffic shapers in the CLI.

To change the bandwidth unit of measurement for a shared traffic shaper:
config firewall shaper traffic-shaper
  edit <traffic_shaper_name>
    set bandwidth-unit {kbps | mbps | gbps}
  next
end
To change the bandwidth unit of measurement for a per-IP traffic shaper:
config firewall shaper per-ip-shaper
  edit <traffic_shaper_name>
    set bandwidth-unit {kbps | mbps | gbps}
  next
end

Changing traffic shaper bandwidth unit of measurement

Bandwidth speeds are measured in kilobits per second (Kbps), and bytes that are sent and received are measured in megabytes (MB). In some cases, this can cause confusion depending on whether your ISP uses kilobits per second (Kbps), kilobytes per second (KBps), megabits per second (Mbps), or gigabits per second (Gbps).

You can change the unit of measurement for traffic shapers in the CLI.

To change the bandwidth unit of measurement for a shared traffic shaper:
config firewall shaper traffic-shaper
  edit <traffic_shaper_name>
    set bandwidth-unit {kbps | mbps | gbps}
  next
end
To change the bandwidth unit of measurement for a per-IP traffic shaper:
config firewall shaper per-ip-shaper
  edit <traffic_shaper_name>
    set bandwidth-unit {kbps | mbps | gbps}
  next
end