Skip to main content
caunon
Staff
Staff
February 25, 2025

Troubleshooting Tip: After configuring inbandwidth and outbandwidth with interface-based traffic shaping at the FortiGate interface, FortiGate will block the traffic when the packet size is larger than 6000

  • February 25, 2025
  • 0 replies
  • 805 views
Description

This article describes how to handle a situation where, after setting inbandwidth xx and outbandwidth xx with interface-based traffic shaping (egress-shaping-profile xxx) at FortiGate interface on the NP7 platform, FortiGate will block the traffic when the packet size is larger than 6000 bytes.

Scope

FortiGate v7.2.x.

Solution
  1. In FortiGate, configure 'set inbandwidth xx' and 'set outbandwidth xx' with interface-based traffic shaping setting (set egress-shaping-profile xxx) at the FortiGate interface on the NP7 platform via a CLI command, as shown below.

 

config system interface

edit <interface’s name>

set inbandwidth 1950000

set outbandwidth 1950000

set egress-shaping-profile “testTrafficShapingProfile”

next

end

 

config firewall shaping-profile

    edit "testTrafficShapingProfile"

        set default-class-id 2

            config shaping-entries

                edit 1

                    set class-id 2

                    set priority top

                    set guaranteed-bandwidth-percentage 1

                    set maximum-bandwidth-percentage 100

                next

            end

        next

    end

 

  1. Test to pass the traffic with many packet sizes until the packet size is larger than 6000 bytes. FortiGate will block the traffic with the packet size which is larger than 6000 bytes under that setting interface.

 

To fix:

 

  1. For a workaround with a temporary fix: Unset the egress-shaping-profile under the interface with the following CLI command:

 

config system interface

edit <interface’s name>

unset egress-shaping-profile

next

end

 

  1. For a permanent fix: upgrade the FortiGate firmware version to be v7.2.11, v7.4.8, v7.6.1 and above.

 

If traffic is stopped (denied) while having Inbandwidth and/or outbandwidth applied to the interface, open a ticket with the technical support team. See the Fortinet Support PortalFor details regarding the fix, check the release notes of newer FortiOS releases.

    Thought Leadership Security Summit. Outpace New Threats with AI - enhanced defense. Tuesday, Septmeber 15, 8:30 AM - 2:30 PM PT. The Golf Club at Newcastle, WA.
    Fortinet Flag the Hack. Wednesday, August 26, 9:00 AM - 5:00 PM ET, COSM, Atlanta, GA.
    Virtual event | September 2026. SASE summit. The age of autonomous trust. Register here!