O'Reilly logo

Windows 2000 Administration in a Nutshell by Mitch Tulloch

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Name

nbtstat

Synopsis

Displays statistics and current connections for NetBT (NetBIOS over TCP/IP).

Syntax

nbtstat [ [-a computername] [-A IPaddress] [-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: ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required