show netstat
14-16 Logging and Network Management
Example
Theî ±followingî ±exampleî ±showsî ±theî ±outputî ±ofî ±thisî ±command.
C2(su)->show netstat
Prot Local Address Foreign Address State
---- ----------------------------- ----------------------------- -----------
TCP 127.0.0.1.2222 0.0.0.0.* LISTEN
TCP 0.0.0.0.80 0.0.0.0.* LISTEN
TCP 0.0.0.0.23 0.0.0.0.* LISTEN
TCP 10.1.56.17.23 134.141.99.104.47718 ESTABLISHED
UDP 0.0.0.0.17185 0.0.0.0.*
UDP 127.0.0.1.49152 127.0.0.1.17185
UDP 0.0.0.0.161 0.0.0.0.*
UDP 0.0.0.0.* 0.0.0.0.*
UDP 0.0.0.0.514 0.0.0.0.*
Theî ±followingî ±tableî ±describesî ±theî ±outputî ±ofî ±thisî ±command.
Table 14-4 show netstat Output Details
Output Field What it displays...
Prot Type of protocol running on the connection.
Local Address IP address of the connection’s local host.
Foreign Address IP address of the connection’s foreign host.
State Communications mode of the connection.