2-834
Catalyst 6500 Series Switch Command Reference—Release7.6
78-15328-01
Chapter2 Catalyst 6500 Series Switch and ROM Monitor Commands
show netstat
show netstat
To display the currently active network connections and to list statistics for the various protocols in the
TCP/IP, use the show netstat command.
show netstat [tcp | udp | ip | icmp | routes | stats | interface]
Syntax Description
Defaults This command has no default settings.
Command Types Switch command.
Command Modes Normal.
Examples This example shows how to display the current active network connections:
Console> show netstat
Active Internet connections (including servers)
Proto Recv-Q Send-Q Local Address Foreign Address (state)
tcp 0 128 172.20.25.142.23 171.68.10.75.44720 ESTABLISHED
tcp 0 0 *.7161 *.* LISTEN
tcp 0 0 *.23 *.* LISTEN
udp 0 0 *.* *.*
udp 0 0 *.161 *.*
udp 0 0 *.123 *.*
Console>
This example shows how to display TCP statistics:
Console> show netstat tcp
tcp:
5122 packets sent
4642 data packets (102292 bytes)
28 data packets (6148 bytes) retransmitted
434 ack-only packets (412 delayed)
0 URG only packets
0 window probe packets
1 window update packet
17 control packets
7621 packets received
4639 acks (for 103883 bytes)
tcp (Optional) Shows TCP statistics.
udp (Optional) Shows UDP statistics.
ip (Optional) Shows IP statistics.
icmp (Optional) Shows ICMP statistics.
routes (Optional) Shows the IP routing table.
stats (Optional) Shows all statistics for TCP, UDP, IP, and ICMP.
interface (Optional) Shows interface statistics.