Step
1
2
3
4
The netstat command
The netstat command displays current TCP/IP network connections and
protocol statistics.
Netstat command syntax
The netstat command uses the following syntax:
netstat [-a] [-e] [-n] [-s] [-p proto] [-r] [interval]
netstat command parameters
netstat command parameters
Parameter
-a
-e
-n
-s
-p proto
-r
interval
To run the netstat command from Windows
Copyright © 2007, Nortel Networks
.
Action
Click Start > Programs > Accessories > Command Prompt.
Result: The Command Prompt dialog box appears.
Type nbtstat with the required parameters.
Press Enter.
Result: The system runs the nbtstat utility.
Type Exit to exit the Command Prompt dialog box and return to
Windows.
Description
Displays all connections and listening ports.
Displays Ethernet statistics. This can be combined with the
-s option.
Displays addresses and port numbers in numeric form.
Displays statistics for each protocol.
Shows connections for the protocol specified by proto. Proto
can be tcp or udp. If used with the -s option, proto can be tcp,
udp, or ip.
Displays the contents of the routing table.
Re-displays selected statistics, pausing between each display.
Press Ctrl+C to stop re-displaying.
Nortel CallPilot
1005r Server Maintenance and Diagnostics
NN44200-704 01.06 Standard
5.0 19 July 2007
Using TCP/IP diagnostic tools 37
—End—