nbtstat
舞夕之 发表于 2020-06-23 16:17浏览次数:
Nbstat是使用NBT(TCP/IP上的NetBIOS)显示协议统计信息和当前TCP/IP连接的实用程序,可帮助解决NetBIOS名称解析问题。通常,当TCP/IP上的NetBIOS正常运行时,会执行名称解析。它通过本地缓存查找、WINS或DNS服务器查询或通过LMHOSTS或主机文件查找来实现这一点。
Nbstat is a utility that displays protocol statistics and current TCP/IP connections using NBT (NetBIOS over TCP/IP), which helps troubleshoot NetBIOS name resolution issues. Normally, name resolution is performed when NetBIOS over TCP/IP is functioning correctly. It does this through a local cache lookup, WINS or DNS server query or through LMHOSTS or hosts file lookup.
目录:
1 nbtstat 运行系统环境
2 nbtstat 语法
3 nbtstat 示例
nbtstat 运行系统环境
Windows 98
Windows xp
Windows vista
Windows 2000
Windows 7
Windows 8
Windows 10
Windows NT
Windows ME
nbtstat 语法
nbtstat [ [-a RemoteName] [-A IpAddress] [-c] [-n] [-r] [-R] [-RR] [-s] [-S] [interval] ]
选项
-aRemoteName
|
按名称列出的适配器状态。列出由计算机名标识的远程计算机的名称表RemoteName.
|
-A IpAddress
|
按地址列出的适配器状态。列出由IP地址IpAddress标识的远程计算机的名称表。
|
-c
|
显示缓存的名称表。列出NBT的远程计算机名称及其IP地址的缓存。
|
-n
|
显示本地名称。列出本地NetBIOS名称。
|
-r
|
显示解析的名称。列出通过广播或WINS解析的名称。
|
-R
|
重新加载名称表。清除并重新加载缓存的名称表。
|
-S
|
按IP地址显示会话。列出包含目标IP地址的会话表。
|
-s
|
按名称显示会话。列出会话表,将目标IP地址转换为其NETBIOS名称。
|
-RR
|
释放并刷新。向WINS发送“Release Name”数据包,然后刷新名称列表。
|
interval
|
如果指定了数字间隔,程序将连续重新显示由其他选项指定的信息,并在每次显示之间暂停间隔秒。按Ctrl+C停止重新显示统计信息。
|
nbtstat [ [-a RemoteName] [-A IpAddress] [-c] [-n] [-r] [-R] [-RR] [-s] [-S] [interval] ]
Options
-aRemoteName
|
Adapter status by name. Lists the name table of the remote machine identified by machine name RemoteName.
|
-A IpAddress
|
Adapter status by address. Lists the name table of the remote machine identified by IP address IpAddress.
|
-c
|
Show cached name table. Lists NBT's cache of remote machine names and their IP addresses.
|
-n
|
Shows local names. Lists local NetBIOS names.
|
-r
|
Shows resolved names. Lists names resolved by broadcast or WINS.
|
-R
|
Reload name table. Purges and reloads the cached name table.
|
-S
|
Shows sessions by IP address. Lists sessions table with the destination IP addresses.
|
-s
|
Shows sessions by name. Lists sessions table, converting destination IP addresses to their NETBIOS names.
|
-RR
|
Release and refresh. Sends "release name" packets to WINS, then refreshes the list of names.
|
interval
|
If a numeric interval is specified, the program will continuously redisplay the information specified by other options, pausing interval seconds between each display. Press Ctrl+C to stop redisplaying statistics.
|
nbtstat 示例
nbtstat -A 204.224.150.3
显示IP地址204.224.150.3的名称表。
nbtstat -A 204.224.150.3
Display the name table of IP address 204.224.150.3.