Fortinet black logo

CLI Reference

firewall shaping-profile

firewall shaping-profile

Use this command to configure traffic shaping profiles.

History

The following table shows all newly added, changed, or removed entries as of FortiOS 6.0.

Command Description

config firewall shaping-profile

Configure traffic shaping profiles and determine bandwidth limits for individual entries by priority and percentage.

Once created, these can then be applied to interfaces using the new egress-shaping-profile command under system interface.

config firewall shaping-profile
    edit {profile-name}
    # Configure shaping profiles.
        set profile-name {string}   Shaping profile name. size[35]
        set comment {string}   Comment. size[1023]
        set default-class-id {integer}   Default class ID to handle unclassified packets (including all local traffic). range[2-31]
        config shaping-entries
            edit {id}
            # Define shaping entries of this shaping profile.
                set id {integer}   ID number. range[0-4294967295]
                set class-id {integer}   Class ID. range[2-31]
                set priority {high | medium | low}   Priority.
                        high    High priority.
                        medium  Medium priority.
                        low     Low priority.
                set guaranteed-bandwidth-percentage {integer}   Guaranteed bandwith in percentage. range[0-100]
                set maximum-bandwidth-percentage {integer}   Maximum bandwith in percentage. range[1-100]
            next
    next
end

firewall shaping-profile

Use this command to configure traffic shaping profiles.

History

The following table shows all newly added, changed, or removed entries as of FortiOS 6.0.

Command Description

config firewall shaping-profile

Configure traffic shaping profiles and determine bandwidth limits for individual entries by priority and percentage.

Once created, these can then be applied to interfaces using the new egress-shaping-profile command under system interface.

config firewall shaping-profile
    edit {profile-name}
    # Configure shaping profiles.
        set profile-name {string}   Shaping profile name. size[35]
        set comment {string}   Comment. size[1023]
        set default-class-id {integer}   Default class ID to handle unclassified packets (including all local traffic). range[2-31]
        config shaping-entries
            edit {id}
            # Define shaping entries of this shaping profile.
                set id {integer}   ID number. range[0-4294967295]
                set class-id {integer}   Class ID. range[2-31]
                set priority {high | medium | low}   Priority.
                        high    High priority.
                        medium  Medium priority.
                        low     Low priority.
                set guaranteed-bandwidth-percentage {integer}   Guaranteed bandwith in percentage. range[0-100]
                set maximum-bandwidth-percentage {integer}   Maximum bandwith in percentage. range[1-100]
            next
    next
end