Name
nbtstat
Synopsis
Displays statistics and current connections for NetBT (NetBIOS over TCP/IP).
Syntax
nbtstat [ [-acomputername
] [-AIPaddress
] [-c] [-n] [-r] [-R] [-RR] [-s] [-S] [interval
] ]
Options
-
-a
computername
Displays the NBT name table on the specified remote computer.
-
-A
IPaddress
Same as
-a
except that IP address of remote computer is used.-
-c
Displays contents of NetBIOS name cache on local machine. This shows the NetBIOS names on the network that have been successfully resolved into IP addresses.
-
-n
Lists the NetBIOS names registered by the local machine. The “registered” field shows whether the name has been registered using broadcasts (B-node) or WINS servers (other node types).
-
-r
Displays statistics for NetBIOS name resolution on the local machine.
-
-R
Purges all NetBIOS name-to-IP address mappings from the local NetBIOS name cache and then preloads mappings from the lmhosts file that have the #PRE specifier.
-
-RR
Releases and refreshes all NetBIOS names for the local machine (new to Windows 2000).
-
-s
Shows all current NetBIOS sessions, listing remote computers by NetBIOS names.
-
-S
Shows all current NetBIOS sessions, listing remote computers by IP addresses.
-
interval
Causes the output to be refreshed every
interval
seconds until Ctrl-C is pressed.
Examples
Purge NetBIOS name-to-IP address mappings in the local NBT name cache:
nbtstat -R
Successful purge and preload of the NBT Remote Cache Name Table.
View the local NBT cache:
nbtstat -c
Local Area Connection: Node IpAddress: ...
Get Windows 2000 Administration in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.