The –s Switch
Using the –s switch displays a variety of TCP, UDP, IP, and ICMP protocol statistics. The following is some sample output using this switch.
C:\netstat –s
IP Statistics
Packets Received = 17455
Received Header Errors = 0
Received Address Errors = 108
Datagrams Forwarded = 0
Unknown Protocols Received = 0
Received Packets Discarded = 0
Received Packets Delivered = 17346
Output Requests = 16374
Routing Discards = 255
Discarded Output Packets = 0
Output Packet No Route = 0
Reassembly Required = 2
Reassembly Successful = 1
Reassembly Failures = 0
Datagrams Successfully Fragmented = 0
Datagrams Failing Fragmentation = 0
Fragments Created = 0
ICMP Statistics
Received Sent
Messages 12 19
Errors 0 0
Destination Unreachable 0 7
Time Exceeded 0 0
Parameter Problems 0 0
Source Quenchs 0 0
Redirects 0 0
Echos 4 8
Echo Replies 8 4
Timestamps 0 0
Timestamp Replies 0 0
Address Masks 0 0
Address Mask Replies 0 0
TCP Statistics
Active Opens = 715
Passive Opens = 0
Failed Connection Attempts = 35
Reset Connections = 638
Current Connections = 1
Segments Received = 15815
Segments Sent = 15806
Segments Retransmitted = 61
UDP Statistics
Datagrams Received = 573
No Ports = 946
Receive Errors = 0
Datagrams Sent = 492
NOTE:
Because the Network+ exam doesn’t cover them, we won’t go into detail on what all these statistics mean. You can probably figure out some of them, such as Packets Received. For details, go to Microsoft’s support website atwww.microsoft.com/support/.