What do we see from the command Show Netstat?
All Aruba OS
#show netstat
============
This CLI command prints the network connections on the Aruba Controller. By default, “show netstat” displays a list of open sockets. Description of each column in the output:
Active Internet connections:
(TCP, UDP, raw)
Proto:
======
The protocol (tcp, udp, raw) used by the socket.
Recv-Q:
=======
The count of bytes not copied by the user program connected to this socket.
Send-Q:
=======
The count of bytes not acknowledged by the remote host.
Local Address:
==============
Address and port number of the local end of the socket. Unless the --numeric (-n) option is specified, the socket address is resolved to its canonical host name (FQDN), and the port number is translated into the corresponding service name.
Foreign Address:
================
Address and port number of the remote end of the socket. Analogous to "Local Address."
State:
======
The state of the socket. Since there are no states in raw mode and usually no states used in UDP, this column may be left blank. Normally this can be one of several values:
ESTABLISHED
===========
The socket has an established connection.
SYN_SENT
=========
The socket is actively attempting to establish a connection.
SYN_RECV
=========
A connection request has been received from the network.
FIN_WAIT1
=========
The socket is closed, and the connection is shutting down.
FIN_WAIT2
===========
Connection is closed, and the socket is waiting for a shutdown from the remote end.
TIME_WAIT
=========
The socket is waiting after close to handle packets still in the network.
CLOSED
=======
The socket is not being used.
CLOSE_WAIT
===========
The remote end has shut down, waiting for the socket to close.
LAST_ACK
=========
The remote end has shut down, and the socket is closed. Waiting for acknowledgement.
LISTEN
======
The socket is listening for incoming connections.
Sample output
==============
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:3306 0.0.0.0:* LISTEN 1610/mysqld
tcp 0 0 0.0.0.0:17 0.0.0.0:* LISTEN 1636/isakmpd
tcp 0 0 0.0.0.0:8211 0.0.0.0:* LISTEN 1579/cfgm
tcp 0 0 0.0.0.0:53 0.0.0.0:* LISTEN 1818/dnsmasq
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 1805/sshd
tcp 0 0 0.0.0.0:23 0.0.0.0:* LISTEN 1568/fpcli
tcp 0 0 0.0.0.0:8088 0.0.0.0:* LISTEN 1809/qpdq
tcp 0 0 0.0.0.0:1723 0.0.0.0:* LISTEN 1814/pptpd
tcp 0 0 0.0.0.0:2300 0.0.0.0:* LISTEN 2017/soed
tcp 0 0 119.82.106.152:22 119.82.106.146:14652 ESTABLISHED 18665/0
tcp 0 0 :::8080 :::* LISTEN 2031/httpd
tcp 0 0 :::80 :::* LISTEN 2031/httpd
tcp 0 0 :::8081 :::* LISTEN 2031/httpd
tcp 0 0 :::8084 :::* LISTEN 2031/httpd
tcp 0 0 :::53 :::* LISTEN 1818/dnsmasq
tcp 0 0 :::22 :::* LISTEN 1805/sshd
tcp 0 0 :::1111 :::* LISTEN 2031/httpd
tcp 0 0 :::4343 :::* LISTEN 2031/httpd
tcp 0 0 :::23 :::* LISTEN 1568/fpcli
tcp 0 0 :::443 :::* LISTEN 2031/httpd
udp 0 0 127.0.0.1:32768 0.0.0.0:* 1527/nanny
udp 0 0 127.0.0.1:32769 0.0.0.0:* 1571/certmgr
udp 0 0 0.0.0.0:514 0.0.0.0:* 1040/syslogd
udp 0 0 127.0.0.1:32771 0.0.0.0:* 1620/fpapps
udp 0 0 127.0.0.1:32773 0.0.0.0:* 1624/pim
udp 0 0 127.0.0.1:32774 0.0.0.0:* 1625/licensemgr
udp 0 0 127.0.0.1:32775 0.0.0.0:* 1769/stm
udp 0 0 127.0.0.1:32776 0.0.0.0:* 1787/hwMon
udp 0 0 127.0.0.1:32781 0.0.0.0:* 1755/auth
udp 0 0 127.0.0.1:32784 0.0.0.0:* 1801/slb
udp 0 0 127.0.0.1:8465 0.0.0.0:* 1571/certmgr
udp 0 0 127.0.0.1:32786 0.0.0.0:* 1664/wms
udp 0 0 0.0.0.0:4500 0.0.0.0:* 1636/isakmpd
udp 0 0 127.0.0.1:32789 0.0.0.0:* 1806/cts
udp 0 0 127.0.0.1:32795 0.0.0.0:* 1840/mapc
udp 0 0 127.0.0.1:32797 0.0.0.0:* 1839/iapmgr
udp 0 0 127.0.0.1:8479 0.0.0.0:* 1839/iapmgr
udp 0 0 0.0.0.0:161 0.0.0.0:* 1788/snmpd
udp 0 0 127.0.0.1:8227 0.0.0.0:* 1755/auth
udp 0 0 0.0.0.0:1701 0.0.0.0:* 1813/l2tpd
udp 0 0 127.0.0.1:8360 0.0.0.0:* 1567/arci-cli-helpe
udp 0 0 127.0.0.1:8232 0.0.0.0:* 1636/isakmpd
udp 0 0 127.0.0.1:8361 0.0.0.0:* 1568/fpcli
udp 0 0 127.0.0.1:8233 0.0.0.0:* 1813/l2tpd
udp 0 0 127.0.0.1:8362 0.0.0.0:* 1579/cfgm
udp 0 0 127.0.0.1:32810 0.0.0.0:* 1579/cfgm
udp 0 0 127.0.0.1:8364 0.0.0.0:* 1568/fpcli
udp 0 0 127.0.0.1:32815 0.0.0.0:* 1636/isakmpd
udp 0 0 127.0.0.1:32817 0.0.0.0:* 1636/isakmpd
udp 0 0 127.0.0.1:32819 0.0.0.0:* 1788/snmpd
udp 0 0 0.0.0.0:53 0.0.0.0:* 1818/dnsmasq
udp 0 0 127.0.0.1:32822 0.0.0.0:* 1568/fpcli
udp 0 0 127.0.0.1:8375 0.0.0.0:* 1568/fpcli
udp 0 0 0.0.0.0:32834 0.0.0.0:* 1785/phonehome
udp 0 0 0.0.0.0:67 0.0.0.0:* 23416/dhcpd
udp 0 0 0.0.0.0:67 0.0.0.0:* 1775/dhcpdwrap
udp 0 0 0.0.0.0:69 0.0.0.0:* 1484/xinetd
udp 0 0 127.0.0.1:32841 0.0.0.0:* 1813/l2tpd
udp 0 0 127.0.0.1:32842 0.0.0.0:* 1814/pptpd
udp 0 0 127.0.0.1:32846 0.0.0.0:* 1814/pptpd