Home > Commands N-Z > Commands N

NBTSTAT


Description | Syntax | Parameters | Switches | Related | Notes | Examples | Errorlevels | Availability

This diagnostic command displays protocol statistics and current TCP/IP connections using NBT (NetBIOS over TCP/IP). This command is available only if the TCP/IP protocol has been installed.


Syntax

NBTSTAT /?

NBTSTAT [-a remote_name] [-A IP_address] [-c] [-n] [-RR] [-R] [-r] [-S] [-s] [interval]


Parameters
interval (NT3.1)
Redisplays selected statistics, pausing interval seconds between each display. Press CTRL+C (^C) to stop redisplaying statistics. If this parameter is omitted, nbtstat prints the current configuration information once.

Switches
/? (NTXP)
Displays help.
-a remote_name (NT3.1)
Lists the remote computer's name table using its name.
-A IP_address (NT3.5)
Lists the remote computer's name table using its IP address.
-c (NT3.1)
Lists the contents of the NetBIOS name cache giving the IP address of each name.
-n (NT3.1)
Lists local NetBIOS names. Registered indicates that the name is registered by broadcast (Bnode) or WINS (other node types).
-r (NT3.5)
Lists name resolution statistics for Windows networking name resolution. On a Windows computer configured to use WINS, this option returns the number of names resolved and registered via broadcast or via WINS.
-R (NT3.1)
Reloads the Lmhosts file after purging all names from the NetBIOS name cache.
-RR (NTXP)
Releases and then refreshes NetBIOS names for the local computer that is registered with WINS servers.
-s (NT3.5)
Displays both client and server sessions. It attempts to convert the remote computer IP address to a name using the Hosts file.
-S (NT3.5)
Displays both client and server sessions, listing the remote computers by IP address only.

Related

none.


Notes

none.


Examples

none.


Errorlevels

none.


Availability
External
DOS
none
Windows
none
Windows NT
NT3.1 NT3.5 NT3.51 NT4 NT2000 NTXP NT2003

Last Updated: 2006/12/01
Direct corrections or suggestions to: Rick Lively