You are here: Home > CLI Commands > Just_CLI_Topics > show netstat

show netstat

show netstat

ip dst|src <ip-addr>

port dst|exclude|src <port>

raw

stats

tcp

udp

unix

Description

Show network statistics for current active network connections, filtered by protocol type.

Syntax

Parameter

Description

ip dst|src <ip-addr>

Displays network statistics filtered based on the source or destination IP address

port dst|exclude|src <port>

Displays network statistics filtered based on the source or destination port number. Use the exclude parameter to exclude a part from the output of this command.

raw

Show netstat raw socket statistics

stats

Show a network statistics summary

tcp

Displays network statistics for TCPTransmission Control Protocol. TCP is a communication protocol that defines the standards for establishing and maintaining network connection for applications to exchange data. sockets.

udp

Displays network statistics for UDPUser Datagram Protocol. UDP is a part of the TCP/IP family of protocols used for data transfer. UDP is typically used for streaming media. UDP is a stateless protocol, which means it does not acknowledge that the packets being sent have been received. sockets.

unix

Displays network statistics for UNIX sockets.

Usage guidelines

Issue the show netstat stats command to display aggregate statistics, or protocol type, port or IP address to filter the statistics displayed in the output of this command.

Example

The following example shows incoming and outgoing packet statistics for the controller.

(host)[node](config) #show netstat stats

Total: 1128 (kernel 1200)

TCP: 147 (estab 82, closed 22, orphaned 0, synrecv 0, timewait 13/0), ports 0

Transport Total IP IPv6

* 1200 - -

RAW 1 1 0

UDP 240 43 197

TCP 125 107 18

INET 366 151 215

FRAG 0 0 0

Related Commands

Parameter

Description

netservice

Configures an alias for network protocols.

Command History

Release

Modification

ArubaOS 8.0.0.0

Command introduced.

Command Information

Platforms

Licensing

Command Mode

All platforms

Base operating system.

Enable and Config mode.

/*]]>*/