Fortinet Document Library

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:


Table of Contents

CLI Reference

config firewall shaper per-ip-shaper

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 max-concurrent-tcp-session {integer}

set max-concurrent-udp-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

Description

Type

Size

Default

max-bandwidth

Upper bandwidth limit enforced by this shaper . 0 means no limit. Units depend on the bandwidth-unit setting.

integer

Minimum value: 0 Maximum value: 16776000

0

bandwidth-unit

Unit of measurement for maximum bandwidth for this shaper (Kbps, Mbps or Gbps).

option

-

kbps

 

Option

Description

kbps

Kilobits per second.

mbps

Megabits per second.

gbps

Gigabits per second.

max-concurrent-session

Maximum number of concurrent sessions allowed by this shaper . 0 means no limit.

integer

Minimum value: 0 Maximum value: 2097000

0

max-concurrent-tcp-session

Maximum number of concurrent TCP sessions allowed by this shaper . 0 means no limit.

integer

Minimum value: 0 Maximum value: 2097000

0

max-concurrent-udp-session

Maximum number of concurrent UDP sessions allowed by this shaper . 0 means no limit.

integer

Minimum value: 0 Maximum value: 2097000

0

diffserv-forward

Enable/disable changing the Forward (original) DiffServ setting applied to traffic accepted by this shaper.

option

-

disable

 

Option

Description

enable

Enable setting forward (original) traffic DiffServ.

disable

Disable setting forward (original) traffic DiffServ.

diffserv-reverse

Enable/disable changing the Reverse (reply) DiffServ setting applied to traffic accepted by this shaper.

option

-

disable

 

Option

Description

enable

Enable setting reverse (reply) traffic DiffServ.

disable

Disable setting reverse (reply) traffic DiffServ.

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

config firewall shaper per-ip-shaper

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 max-concurrent-tcp-session {integer}

set max-concurrent-udp-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

Description

Type

Size

Default

max-bandwidth

Upper bandwidth limit enforced by this shaper . 0 means no limit. Units depend on the bandwidth-unit setting.

integer

Minimum value: 0 Maximum value: 16776000

0

bandwidth-unit

Unit of measurement for maximum bandwidth for this shaper (Kbps, Mbps or Gbps).

option

-

kbps

 

Option

Description

kbps

Kilobits per second.

mbps

Megabits per second.

gbps

Gigabits per second.

max-concurrent-session

Maximum number of concurrent sessions allowed by this shaper . 0 means no limit.

integer

Minimum value: 0 Maximum value: 2097000

0

max-concurrent-tcp-session

Maximum number of concurrent TCP sessions allowed by this shaper . 0 means no limit.

integer

Minimum value: 0 Maximum value: 2097000

0

max-concurrent-udp-session

Maximum number of concurrent UDP sessions allowed by this shaper . 0 means no limit.

integer

Minimum value: 0 Maximum value: 2097000

0

diffserv-forward

Enable/disable changing the Forward (original) DiffServ setting applied to traffic accepted by this shaper.

option

-

disable

 

Option

Description

enable

Enable setting forward (original) traffic DiffServ.

disable

Disable setting forward (original) traffic DiffServ.

diffserv-reverse

Enable/disable changing the Reverse (reply) DiffServ setting applied to traffic accepted by this shaper.

option

-

disable

 

Option

Description

enable

Enable setting reverse (reply) traffic DiffServ.

disable

Disable setting reverse (reply) traffic DiffServ.

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