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
- 415 Beta Program
- 2.3K Nebula
- 141 Nebula Ideas
- 94 Nebula Status and Incidents
- 5.5K Security
- 216 USG FLEX H Series
- 262 Security Ideas
- 1.4K Switch
- 71 Switch Ideas
- 1K Wireless
- 39 Wireless Ideas
- 6.3K Consumer Product
- 243 Service & License
- 382 News and Release
- 81 Security Advisories
- 27 Education Center
- 8 [Campaign] Zyxel Network Detective
- 3K FAQ
- 34 Documents
- 34 Nebula Monthly Express
- 83 About Community
- 71 Security Highlight