number of TCP connections

Unanswered Question
Feb 12th, 2007

Hi,

Sorry if this is a stupid question, but how can I tell the number of active TCP connections that say a switch or router is currently handling? I've tried looking at tcpActiveOpens.0 and tcpPassiveOpens.0 in the MIB, but they don't seem to relate to the traffic. What am I doing wrong?

Thanks,

Jules.

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
dominic.caron Mon, 02/12/2007 - 13:56

Enable netflow on the router(ip route cache flow on interface), you will be able to get stats like this

sh ip cache flow

Total flow/s

TCP-Telnet 4058396 3.2

TCP-FTP 4871555 3.9

TCP-FTPD 308255 0.2

TCP-WWW 442894669 357.8

TCP-SMTP 35046690 28.3

TCP-X 560729 0.4

TCP-BGP 18331 0.0

TCP-NNTP 519092 0.4

TCP-Frag 28724 0.0

TCP-other 698655766 564.4

If you are using a L3 switch, it's a bit harder.

Actions

This Discussion