Fortinet Document Library

Version:


Table of Contents

CLI Reference

6.2.1
Copy Link

Configure per-IP traffic shaper.

  config firewall shaper per-ip-shaper
      Description: Configure per-IP traffic shaper.
      edit <name>
          set max-bandwidth {integer}
          set bandwidth-unit [kbps|mbps|...]
          set max-concurrent-session {integer}
          set diffserv-forward [enable|disable]
          set diffserv-reverse [enable|disable]
          set diffservcode-forward {user}
          set diffservcode-rev {user}
      next
  end

config firewall shaper per-ip-shaper

Parameter Name Description Type Size
max-bandwidth Upper bandwidth limit enforced by this shaper (0 - 16776000). 0 means no limit. Units depend on the bandwidth-unit setting. integer Minimum value: 0 Maximum value: 16776000
bandwidth-unit Unit of measurement for maximum bandwidth for this shaper (Kbps, Mbps or Gbps).
kbps: Kilobits per second.
mbps: Megabits per second.
gbps: Gigabits per second.
option -
max-concurrent-session Maximum number of concurrent sessions allowed by this shaper (0 - 2097000). 0 means no limit. integer Minimum value: 0 Maximum value: 2097000
diffserv-forward Enable/disable changing the Forward (original) DiffServ setting applied to traffic accepted by this shaper.
enable: Enable setting forward (original) traffic DiffServ.
disable: Disable setting forward (original) traffic DiffServ.
option -
diffserv-reverse Enable/disable changing the Reverse (reply) DiffServ setting applied to traffic accepted by this shaper.
enable: Enable setting reverse (reply) traffic DiffServ.
disable: Disable setting reverse (reply) traffic DiffServ.
option -
diffservcode-forward Forward (original) DiffServ setting to be applied to traffic accepted by this shaper. user Not Specified
diffservcode-rev Reverse (reply) DiffServ setting to be applied to traffic accepted by this shaper. user Not Specified

Configure per-IP traffic shaper.

  config firewall shaper per-ip-shaper
      Description: Configure per-IP traffic shaper.
      edit <name>
          set max-bandwidth {integer}
          set bandwidth-unit [kbps|mbps|...]
          set max-concurrent-session {integer}
          set diffserv-forward [enable|disable]
          set diffserv-reverse [enable|disable]
          set diffservcode-forward {user}
          set diffservcode-rev {user}
      next
  end

config firewall shaper per-ip-shaper

Parameter Name Description Type Size
max-bandwidth Upper bandwidth limit enforced by this shaper (0 - 16776000). 0 means no limit. Units depend on the bandwidth-unit setting. integer Minimum value: 0 Maximum value: 16776000
bandwidth-unit Unit of measurement for maximum bandwidth for this shaper (Kbps, Mbps or Gbps).
kbps: Kilobits per second.
mbps: Megabits per second.
gbps: Gigabits per second.
option -
max-concurrent-session Maximum number of concurrent sessions allowed by this shaper (0 - 2097000). 0 means no limit. integer Minimum value: 0 Maximum value: 2097000
diffserv-forward Enable/disable changing the Forward (original) DiffServ setting applied to traffic accepted by this shaper.
enable: Enable setting forward (original) traffic DiffServ.
disable: Disable setting forward (original) traffic DiffServ.
option -
diffserv-reverse Enable/disable changing the Reverse (reply) DiffServ setting applied to traffic accepted by this shaper.
enable: Enable setting reverse (reply) traffic DiffServ.
disable: Disable setting reverse (reply) traffic DiffServ.
option -
diffservcode-forward Forward (original) DiffServ setting to be applied to traffic accepted by this shaper. user Not Specified
diffservcode-rev Reverse (reply) DiffServ setting to be applied to traffic accepted by this shaper. user Not Specified