Skip to main content
HS08
Valued Contributor
Aug 25, 2025 4:20 AM UTC
Question

Traffic Shapper Statistic

Can we get the real bandwidth for each traffic shaper using SNMP? What oid can be used?

Screenshot 2025-08-25 111946.png

5 replies

Stephen_G
Staff & Editor
Staff & Editor
Aug 27, 2025 4:31 PM UTC

Hello,


Thank you for using the Community Forum. I will seek to get you an answer or help. We will reply to this thread with an update as soon as possible.


Thanks,

Translate
Stephen_G - Fortinet Community Team
Stephen_G
Staff & Editor
Staff & Editor
Aug 29, 2025 5:22 PM UTC

Hi HS08,

 

We are still trying to get you an answer or help. We will respond as soon as possible.

 

In the meantime, if anyone has any advice on this topic, please feel free to contribute it.

Translate
Stephen_G - Fortinet Community Team
HS08
HS08Author
Valued Contributor
Sep 1, 2025 7:43 AM UTC

have any update?

Translate
Anthony_E
Staff
Staff
Sep 1, 2025 9:55 AM UTC

Hi,

 

To obtain the real bandwidth for each traffic shaper using SNMP, FortiGate does not provide specific SNMP OIDs for bandwidth directly.

However, you can calculate the bandwidth by using the SNMP OIDs for the number of bytes received/sent on an interface:

  1. ifInOctets: 1.3.6.1.2.1.2.2.1.10
  2. ifOutOctets: 1.3.6.1.2.1.2.2.1.16 To calculate the bandwidth:
  • Query the byte count at two different times.
  • Subtract the initial byte count from the later byte count. - Multiply the result by 8 to convert bytes to bits.
  • Divide by the time interval in seconds to get the bandwidth in bits per second (bps). For traffic shaping statistics, you can refer to SNMP OIDs related to traffic shaping, but specific OIDs for real-time bandwidth per shaper are not provided.
Translate
Best Regards
HS08
HS08Author
Valued Contributor
Sep 2, 2025 1:57 AM UTC

Hi..

yes i can query from interface side but this is not what i ask.

I asked to query for each traffic shapper, so i can know consume badnwidth for sales, bod, IT etc because I will make the traffic shaper based on the department.

Translate
Risk and Resilience in the Age of AI. An OT Thought Leadership Summit for Houston's Critical Infrastructure Leaders. Date: Thursday, December 3, 2026. Time: 8:30 am - 1:30 pm (CT). Location: The Westin Houston, Memorial City | 945 Gessner Road, Houston, TX 77024