Fortinet white logo
Fortinet white logo

CLI Reference

config firewall shaping-profile

config firewall shaping-profile

Configure shaping profiles.

config firewall shaping-profile
    Description: Configure shaping profiles.
    edit <profile-name>
        set comment {var-string}
        set default-class-id {integer}
        set npu-offloading [disable|enable]
        config shaping-entries
            Description: Define shaping entries of this shaping profile.
            edit <id>
                set burst-in-msec {integer}
                set cburst-in-msec {integer}
                set class-id {integer}
                set guaranteed-bandwidth-percentage {integer}
                set limit {integer}
                set max {integer}
                set maximum-bandwidth-percentage {integer}
                set min {integer}
                set priority [top|critical|...]
                set red-probability {integer}
            next
        end
        set type [policing|queuing]
    next
end

config firewall shaping-profile

Parameter

Description

Type

Size

Default

comment

Comment.

var-string

Maximum length: 1023

default-class-id

Default class ID to handle unclassified packets (including all local traffic).

integer

Minimum value: 0 Maximum value: 4294967295

0

npu-offloading

Enable/disable NPU offloading.

option

-

enable

Option

Description

disable

Diable shaper offloading.

enable

Enable shaper offloading.

profile-name

Shaping profile name.

string

Maximum length: 35

type

Select shaping profile type: policing / queuing.

option

-

policing

Option

Description

policing

Enable policing mode.

queuing

Enable queuing mode.

config shaping-entries

Parameter

Description

Type

Size

Default

burst-in-msec

Number of bytes that can be burst at maximum-bandwidth speed. Formula: burst = maximum-bandwidth*burst-in-msec.

integer

Minimum value: 0 Maximum value: 2000

0

cburst-in-msec

Number of bytes that can be burst as fast as the interface can transmit. Formula: cburst = maximum-bandwidth*cburst-in-msec.

integer

Minimum value: 0 Maximum value: 2000

0

class-id

Class ID.

integer

Minimum value: 0 Maximum value: 4294967295

0

guaranteed-bandwidth-percentage

Guaranteed bandwidth in percentage.

integer

Minimum value: 0 Maximum value: 100

0

id

ID number.

integer

Minimum value: 0 Maximum value: 4294967295

0

limit

Hard limit on the real queue size in packets.

integer

Minimum value: 5 Maximum value: 10000

1000

max

Average queue size in packets at which RED drop probability is maximal.

integer

Minimum value: 3 Maximum value: 3000

250

maximum-bandwidth-percentage

Maximum bandwidth in percentage.

integer

Minimum value: 1 Maximum value: 100

1

min

Average queue size in packets at which RED drop becomes a possibility.

integer

Minimum value: 3 Maximum value: 3000

83

priority

Priority.

option

-

high

Option

Description

top

Top priority.

critical

Critical priority.

high

High priority.

medium

Medium priority.

low

Low priority.

red-probability

Maximum probability (in percentage) for RED marking.

integer

Minimum value: 0 Maximum value: 20

0

config firewall shaping-profile

config firewall shaping-profile

Configure shaping profiles.

config firewall shaping-profile
    Description: Configure shaping profiles.
    edit <profile-name>
        set comment {var-string}
        set default-class-id {integer}
        set npu-offloading [disable|enable]
        config shaping-entries
            Description: Define shaping entries of this shaping profile.
            edit <id>
                set burst-in-msec {integer}
                set cburst-in-msec {integer}
                set class-id {integer}
                set guaranteed-bandwidth-percentage {integer}
                set limit {integer}
                set max {integer}
                set maximum-bandwidth-percentage {integer}
                set min {integer}
                set priority [top|critical|...]
                set red-probability {integer}
            next
        end
        set type [policing|queuing]
    next
end

config firewall shaping-profile

Parameter

Description

Type

Size

Default

comment

Comment.

var-string

Maximum length: 1023

default-class-id

Default class ID to handle unclassified packets (including all local traffic).

integer

Minimum value: 0 Maximum value: 4294967295

0

npu-offloading

Enable/disable NPU offloading.

option

-

enable

Option

Description

disable

Diable shaper offloading.

enable

Enable shaper offloading.

profile-name

Shaping profile name.

string

Maximum length: 35

type

Select shaping profile type: policing / queuing.

option

-

policing

Option

Description

policing

Enable policing mode.

queuing

Enable queuing mode.

config shaping-entries

Parameter

Description

Type

Size

Default

burst-in-msec

Number of bytes that can be burst at maximum-bandwidth speed. Formula: burst = maximum-bandwidth*burst-in-msec.

integer

Minimum value: 0 Maximum value: 2000

0

cburst-in-msec

Number of bytes that can be burst as fast as the interface can transmit. Formula: cburst = maximum-bandwidth*cburst-in-msec.

integer

Minimum value: 0 Maximum value: 2000

0

class-id

Class ID.

integer

Minimum value: 0 Maximum value: 4294967295

0

guaranteed-bandwidth-percentage

Guaranteed bandwidth in percentage.

integer

Minimum value: 0 Maximum value: 100

0

id

ID number.

integer

Minimum value: 0 Maximum value: 4294967295

0

limit

Hard limit on the real queue size in packets.

integer

Minimum value: 5 Maximum value: 10000

1000

max

Average queue size in packets at which RED drop probability is maximal.

integer

Minimum value: 3 Maximum value: 3000

250

maximum-bandwidth-percentage

Maximum bandwidth in percentage.

integer

Minimum value: 1 Maximum value: 100

1

min

Average queue size in packets at which RED drop becomes a possibility.

integer

Minimum value: 3 Maximum value: 3000

83

priority

Priority.

option

-

high

Option

Description

top

Top priority.

critical

Critical priority.

high

High priority.

medium

Medium priority.

low

Low priority.

red-probability

Maximum probability (in percentage) for RED marking.

integer

Minimum value: 0 Maximum value: 20

0