- Community Home
- >
- Networking
- >
- Legacy
- >
- Switches, Hubs, Modems
- >
- Re: ProCurve 2524: monitor traffic usage by port
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-10-2010 05:02 AM
тАО02-10-2010 05:02 AM
For example: one of the ports shows me there have been 2,465,389,780 bytes transmitted (Tx) over this port. But based on other data i'm sure there has been way much more traffic than 2.2 GB on that port. Is there a maximum number on which the switch begins to count from 0? Or am i missing something else?
The switch is in use for some years now and has not been reset for a long time.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-10-2010 02:33 PM
тАО02-10-2010 02:33 PM
SolutionIf the web, CLI, or telnet-menu counters are based on 32-bit internal counters then they will reach a maximum value of 4,294,967,295 and roll back over to 0. For octets, 4.2GB is not a very large number. At a steady rate of 10 Mbps (that's bits/second) a 32-bit octet counter would roll in 3436 seconds (about 57 minutes); for a steady flow of 1 Gbps this number becomes 344 seconds (less than 6 minutes).
That being said, I don't know offhand whether these UI counters are based on 32-bit or 64-bit counters. I kind of suspect that only 32-bit counters are used because with 64-bit counters you should see much larger numbers on some of your ports than the number you cite if the switch has been in use and not reset for a long time. But you can eliminate any uncertainty in this regard by using SNMP to pull the counts rather than relying on the supplied UIs.
SNMP would allow you to select which size of counter you consult as the 2524 supports both 32-bit (from the interface MIB - iso(1).org(3).dod(6).internet(1).mgmt(2).mib-2(1).interfaces(2).ifTable(2)) and 64-bit (from the interface extensions MIB - iso(1).org(3).dod(6).internet(1).mgmt(2).mib-2(1).ifMIB(31).ifMIBObjects(1).ifXTable(1)) counters. Using SNMP is the path I'd recommend for your situation ...
Regards,
SVB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-11-2010 06:40 AM
тАО02-11-2010 06:40 AM
Re: ProCurve 2524: monitor traffic usage by port
If you do a "show interface X hc", where X is the number you are insterested in, it will show you the traffic counters in hex format.
HTH
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-15-2010 12:27 AM
тАО02-15-2010 12:27 AM
Re: ProCurve 2524: monitor traffic usage by port
Mohammed: thank you for the suggestion, but the counter turns around at the max value and displaying it in hex won't help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-15-2010 01:38 AM
тАО02-15-2010 01:38 AM
Re: ProCurve 2524: monitor traffic usage by port
The suggestion that the counters roll over sounds reasonable but I'm not sure it's accurate.
For example, taking the output of a "sh int" on one of the interfaces of a switch gives me:
Name :
Link Status : Up
Totals (Since boot or last clear) :
Bytes Rx : 3,025,718,262
Bytes Tx : 1,559,636,547
A "show int hc" for the same port gives me:
Name :
Link Status : Up
Bytes Rx : 0x38fb48e3d0a
Bytes Tx : 0x3205d10f5cc
Converted to decimal those two numbers differ significantly.
Either way, SNMP is still the best way to achieve what you want (I can recommend Cacti).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-15-2010 02:27 AM
тАО02-15-2010 02:27 AM
Re: ProCurve 2524: monitor traffic usage by port
I was digging in the 2425 documentation on how to setup snmp traps for this kind of information (port traffic counters), i defined a community and a trap receiver (on the receiver's end there is a service listening and logging snmp traps), but i don't have any paper covering trap definitions, how to get use of all the mibs (like e.g. stat.mib in my case)? The only thing i got is to use rmon in hp toptools. I don't want to use toptools, is there any other way?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-15-2010 08:24 AM
тАО02-15-2010 08:24 AM
Re: ProCurve 2524: monitor traffic usage by port
You need something that will poll the switch for statistics (using SNMP) at a regular interval, like Cacti.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-19-2010 12:18 AM
тАО02-19-2010 12:18 AM