Specifications
hg-c.fm
A31003-H3580-M103-2-76A9, 01-2009
HiPath 3000/5000 V8 - HG 1500 V8, Administrator Documentation
C-9
Nur für den internen Gebrauch
WAN/LAN Management
Utility Programs for TCP/IP Diagnostics
C.1.6 nbtstat
This utility program allows connections which use the "NetBIOS over TCP/IP protocol" (WINS-
Client(TCP/IP)) to be tested. In the "NetBIOS over TCP/IP protocol", the NetBIOS packet is
packaged in a TCP/IP packet and then unpacked again on the remote side. This is necessary
because NetBIOS cannot be routed like TCP/IP. As Windows drives can only be enabled via
NetBIOS, such enablements must be packaged in TCP/IP in order to be transferred to other
physical networks. For this purpose, Windows creates a NetBIOS name cache which can also
be created manually. IP addresses are resolved in a table as computer names. This file is
called lmhosts and is located in either the system directory or a system subdirectory, depend-
ing on the operating system
In these directories, Windows provides various test files which can be used as samples. The
structure of each test file is explained. These files have the extension sam. In this case, the file
is called lmhosts.sam. If this lmhosts file does not already exist, it can simply be copied to lm-
hosts and edited.
Syntax for Windows operating systems:
Win95/98/ME: %systemroot%
WinNT/2000/XP: %systemroot%\system32\drivers\etc
nbtstat [<Parameter>]
The following entries are possible for <Parameter>:
-a <Host Name> Returns the name table for the computer specified under <Host Name>
-A<IP address> Returns the name table for the computer specified under <IP Address>
-c The NetBIOS Name Cache is listed with NetBIOS names and corre-
sponding IP addresses
-n Lists all local NetBIOS names used
-R Deletes the NetBIOS Name Cache and reloads the file LMHOST.
-r Lists the names which have been resolved for the Windows networks
-S Shows client and server connections as IP addresses.
-s Shows client and server connections and resolves the IP addresses into
names.