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 {integer}
        config classes
            Description: Define shaping classes of this shaping profile
            edit <name>
                set class-id {integer}
                set priority [top|critical|...]
                set guaranteed-bandwidth {integer}
                set maximum-bandwidth {integer}
            next
        end
        set npu-offloading [disable|enable]
    next
end

config firewall shaping-profile

Parameter

Description

Type

Size

Default

profile-name

Shaping profile name.

string

Maximum length: 35

comment

Comment.

var-string

Maximum length: 1023

default-class

Default class ID to handle unclassified packets.

integer

Minimum value: 2 Maximum value: 32

2

npu-offloading

Enable/disable NPU offloading.

option

-

enable

Option

Description

disable

Diable shaper offloading.

enable

Enable shaper offloading.

config classes

Parameter

Description

Type

Size

Default

name

Class Name.

string

Maximum length: 35

class-id

Class ID.

integer

Minimum value: 2 Maximum value: 32

0

priority

Priority.

option

-

top

Option

Description

top

Top priority.

critical

Critical priority.

high

High priority.

medium

Medium priority.

low

Low priority.

guaranteed-bandwidth

Guaranteed bandwidth in percentage.

integer

Minimum value: 0 Maximum value: 100

0

maximum-bandwidth

Maximum bandwidth in percentage.

integer

Minimum value: 1 Maximum value: 100

1

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 {integer}
        config classes
            Description: Define shaping classes of this shaping profile
            edit <name>
                set class-id {integer}
                set priority [top|critical|...]
                set guaranteed-bandwidth {integer}
                set maximum-bandwidth {integer}
            next
        end
        set npu-offloading [disable|enable]
    next
end

config firewall shaping-profile

Parameter

Description

Type

Size

Default

profile-name

Shaping profile name.

string

Maximum length: 35

comment

Comment.

var-string

Maximum length: 1023

default-class

Default class ID to handle unclassified packets.

integer

Minimum value: 2 Maximum value: 32

2

npu-offloading

Enable/disable NPU offloading.

option

-

enable

Option

Description

disable

Diable shaper offloading.

enable

Enable shaper offloading.

config classes

Parameter

Description

Type

Size

Default

name

Class Name.

string

Maximum length: 35

class-id

Class ID.

integer

Minimum value: 2 Maximum value: 32

0

priority

Priority.

option

-

top

Option

Description

top

Top priority.

critical

Critical priority.

high

High priority.

medium

Medium priority.

low

Low priority.

guaranteed-bandwidth

Guaranteed bandwidth in percentage.

integer

Minimum value: 0 Maximum value: 100

0

maximum-bandwidth

Maximum bandwidth in percentage.

integer

Minimum value: 1 Maximum value: 100

1