SNMP Monitor USG60 WAN1 and WAN2 traffic?
Accepted Solution
-
Hi @TAPTech,
You can use OID: .1.3.6.1.2.1.2.2 to get ifInOctets and ifOutOctets of each interface.
Then calculate the bandwidth by using the value of ifInOctets and ifOutOctets.
(ifInOctets(time2) - ifInOctets(time1)) / (time2 - time1)
(ifOutOctets(time2) - ifOutOctets(time1)) / (time2 - time1)
Here is an example for your reference.
If you want to get the bandwidth which is received on the interface (ifInOctets)WAN2 (eth1) during the period
Time (17:00) : 50845741 bytes
Time (17:05) : 3589025121 bytes
Bandwidth : (3589025121 – 50845741)(bytes) / 300(seconds) = 11.79 MB
Time (17:00) : 50845741 bytes
Time (17:05) : 3589025121 bytes
5
All Replies
-
Hi @TAPTech,
You can use OID: .1.3.6.1.2.1.2.2 to get ifInOctets and ifOutOctets of each interface.
Then calculate the bandwidth by using the value of ifInOctets and ifOutOctets.
(ifInOctets(time2) - ifInOctets(time1)) / (time2 - time1)
(ifOutOctets(time2) - ifOutOctets(time1)) / (time2 - time1)
Here is an example for your reference.
If you want to get the bandwidth which is received on the interface (ifInOctets)WAN2 (eth1) during the period
Time (17:00) : 50845741 bytes
Time (17:05) : 3589025121 bytes
Bandwidth : (3589025121 – 50845741)(bytes) / 300(seconds) = 11.79 MB
Time (17:00) : 50845741 bytes
Time (17:05) : 3589025121 bytes
5 -
That was a fantastic post and had everything I needed! Thank you so much.0
Categories
- All Categories
- 429 Beta Program
- 2.6K Nebula
- 163 Nebula Ideas
- 112 Nebula Status and Incidents
- 6K Security
- 350 USG FLEX H Series
- 291 Security Ideas
- 1.5K Switch
- 78 Switch Ideas
- 1.2K Wireless
- 42 Wireless Ideas
- 6.6K Consumer Product
- 261 Service & License
- 407 News and Release
- 87 Security Advisories
- 31 Education Center
- 10 [Campaign] Zyxel Network Detective
- 3.8K FAQ
- 34 Documents
- 34 Nebula Monthly Express
- 85 About Community
- 82 Security Highlight