Troubleshooting Tip: Traffic Shaping (Interface-based) shows no data
Description
This article describes how to troubleshoot issues on the FortiManager Device Manager for the Traffic Shaping (Interface-based) widget shows no data.

 
Scope
FortiManager, FortiGate.
Solution
- Configure Traffic Shaping on the interface level, and the Shaping Profile needs to be first in the first place. Under FortiGate -> Network -> Interfaces -> Traffic Shaping -> Outbound shaping profile -> enable -> Create -> Traffic Shaping Classes -> Create New.
 



 
Note:
Create a necessary class ID if it is not present.
- Make sure the Role for the interface is set to WAN and set the estimated bandwidth value for Upstream and Downstream.

Sample CLI configuration:
config system interface
edit "port1"
set vdom "root"
set ip 11.41.1.11 255.255.240.0
set allowaccess ping https ssh HTTP
set type physical
set outbandwidth 100 <-----
set egress-shaping-profile "test" <-----
set lldp-reception enable
set estimated-upstream-bandwidth 100 <-----
set estimated-downstream-bandwidth 100 <-----
set role wan <-----
set snmp-index 1
next
end
- In FortiManager, enable traffic shaping history as per the below configuration:
config system admin setting
set traffic-shaping-history enable
end

 
It will take some time to populate the data, just refresh the browser and monitor. The output will only populate once the configuration is enabled, and it is not able to get the previous data.
Related documents:
Technical Tip: Enable history time filter in SD-WAN monitor
Technical Tip: Configuring a Traffic Shaping profile
Technical Tip: Implementing interface-based traffic shaping on FortiGate
Interface-based traffic shaping profile
