User guide
TCP/IP command reference IP
4-33
iMG/RG Software Reference Manual (IPNetwork Functions)
-----------------|-------------------|--------------|--------
20.20.20.20 | 00:20:2b:03:0a:72 | ip2 | no
-----------------|-------------------|--------------|--------
30.30.30.30 | 00:20:2b:03:09:c4 | ip1 | no
-------------------------------------------------------------
See also IP CLEAR ARPENTRIES
4.1.8.2.34 IP LIST CONNECTIONS
Syntax ip list connections
• This command lists the active TCP/UDP connections in use by applications running
on the device. It displays the following information:
• Protocol type (TCP or UDP)
• Local connection address
• Remote connection address
• Connection state for TCP connections
This command does not show raw socket connections or UDP connections opened
internally within the IP stack.
Example The example below shows an active telnet connection, WebServer, TFTP server and
SNMP:
--> ip list connections
Local TCP/UDP connections:
Prot | Local address | Remote address | State | Owner
------|----------------------|----------------------|-------------|------------
tcp | *:8008 | *:* | LISTEN | webserver
tcp | *:22 | *:* | LISTEN | sshd
tcp | *:23 | *:* | LISTEN | webserver
tcp | *:80 | *:* | LISTEN | webserver
udp | 255.255.255.255:3913 | <2> *:* | | grsp
udp | *:68 | *:* | | dhcpclient
udp | *:68 | <1> *:* | | dhcpclient
udp | *:55001 | *:* | | tftp
udp | *:55000 | *:* | | tftp
udp | *:50001 | *:* | | snmpr
udp | *:161 | *:* | | snmpr
udp | *:50000 | *:* | | dnsrelay
udp | *:53 | *:* | | dnsrelay
udp | *:520 | *:* | | rip
udp | *:123 | *:* | | sntp