Support Forum
The Forums are a place to find answers on a range of Fortinet products from peers and product experts.
HS08
Contributor

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 5
Stephen_G
Moderator
Moderator

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,

Stephen - Fortinet Community Team
Stephen_G
Moderator
Moderator

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.

Stephen - Fortinet Community Team
HS08

have any update?

Anthony_E
Community Manager
Community Manager

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.
Anthony-Fortinet Community Team.
HS08

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.

Announcements
Check out our Community Chatter Blog! Click here to get involved
Labels
Top Kudoed Authors