cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
7631
Views
2
Helpful
5
Replies

show tcp statistics

techmail4sam
Level 1
Level 1

Hi,

There is a command "show tcp statistics" to get tcp statistics.

whether this tcp statistics are of VSM or it includes tcp statistics of VSM+VMs on ESX.

Thanks,

D V

5 Replies 5

ashwinds
Level 1
Level 1

These are the TCP statistics of the VSM only and does not include the stats for the VEM or VMs on the ESX

-- Ashwin

Hi,

How can I get TCP statistics for VMs on VEM?

Should I use Netflow or ERSPAN? or

Is there any other way to get the same?

Thanks,

D V

Following configuration can be used to get tcp statistics for VMs:

flow record protocol-stats

match ip protocol

collect counter bytes

collect counter packets

flow exporter exp
  destination <collector-ip>

flow monitor protocol-stats
  record protocol-stats
  exporter exp

By using above config you should be able to collect protocol-wise stats for all the interfaces on a VM. You can put following config in a port profile or directly on the interface which you want to monitor:

ip flow monitor protocol-stats input

ip flow monitor protocol-stats output

This would monitor traffic in both egress and ingress with respect to VM.

-Shachi

aj3878121
Level 1
Level 1
The "show tcp statistics" command typically provides TCP stats for the VSM only, not including VMs on an ESX server. For VM statistics, you'll need to run commands directly within each VM or use a comprehensive monitoring tool.

iquah9oozil
Level 1
Level 1

These statistics help in diagnosing issues like congestion, connection drops, or suboptimal configurations, enabling targeted interventions to enhance network efficiency.