CompTIA Certifications

CompTIA Network+ 2009 Domain 5: Network Tools

NBTStat Networking Utility

The nbtstat networking utility shows statistics and networking information for NetBIOS over TCP/IP – a Windows networking protocol.

H:\>nbtstat
Displays protocol statistics and current TCP/IP connections using NBT
(NetBIOS over TCP/IP).
NBTSTAT [ [-a RemoteName] [-A IP address] [-c] [-n]
 [-r] [-R] [-RR] [-s] [-S] [interval] ]
 -a   (adapter status) Lists the remote machine's name table given its name
 -A   (Adapter status) Lists the remote machine's name table given its
 IP address.
 -c   (cache)          Lists NBT's cache of remote [machine] names and their IP
 addresses
 -n   (names)          Lists local NetBIOS names.
 -r   (resolved)       Lists names resolved by broadcast and via WINS
 -R   (Reload)         Purges and reloads the remote cache name table
 -S   (Sessions)       Lists sessions table with the destination IP addresses
 -s   (sessions)       Lists sessions table converting destination IP
 addresses to computer NETBIOS names.
 -RR  (ReleaseRefresh) Sends Name Release packets to WINS and then, starts Refr
esh
 RemoteName   Remote host machine name.
 IP address   Dotted decimal representation of the IP address.
 interval     Redisplays selected statistics, pausing interval seconds
 between each display. Press Ctrl+C to stop redisplaying
 statistics.

The nbtstat utility is useful for seeing connections via NetBIOS in a Windows networking environment.