Nbtstat command in Windows
(Applies To: Windows Server (Semi-Annual Channel), Windows Server 2016, Windows Server 2012 R2, Windows Server 2012)
Display NetBIOS via TCP / IP protocol statistics or through NetBIOS naming table for both local and remote machines, and for NetBIOS naming buffers.The nbstat command allows you to refresh the NetBIOS name buffer and the names registered with the Internet Calling Service on Windows.When used without parameters, the nbstat command will display help information.
Syntax
nbtstat [/ a] [/ A] [/ c] [/ n] [/ r] [/ R] [/ RR] [/ s] [/ S] []
Parameters
Describe
/ a
Represents the NetBIOS table name of a remote computer, where remoteName is the NetBIOS name of the remote computer.NetBIOS table name is a list of NetBIOS names corresponding to NetBIOS applications running on that computer.
/ A
Indicates the NetBIOS table name of a remote computer, determined by the IP address of the remote computer.
/ c
Display the content of NetBIOS cache, NetBIOS table name and their resolved IP address .
/ n
Displays the NetBIOS table name of the local computer.The registration status will indicate whether the name is registered by broadcast or with the WINS server.
/ r
Display NetBIOS name resolution statistics.On computers running Windows XP or Windows Server 2003 configured to use WINS, this parameter returns the number of confirmed names and broadcast subscriptions and WINS
/ R
Remove the contents of the NetBIOS name cache and then update the items tagged with PRE from Lmhosts file.
/ RR
Give the NetBIOS name and then update them to the local computers registered with the WINS server.
/S
Represents the client NetBIOS sessions, converting the destination IP address to a specific name.
/S
Represents the client session NetBIOS, listing the remote computers according to the destination IP address.
Revisit the selected statistics, temporarily pause the time specified between each impression
/?
Show help at the command prompt.
Note
Notice the uppercase and lowercase letters of the parameter in the nbtstat command
The following table describes the meaning of the column headers created by nbtstat:
Column header
Describe
Input
Number of bytes received.
output
Number of bytes sent.
In / Out
connection comes from computer (outbound) or from another computer to local computer (inbound).
Life
The rest of the name table cache entry is retained before being deleted.
Local Name
Local NetBIOS name is associated with the connection.
Máy xa
The name or IP address associated with the remote computer.
The last byte of the NetBIOS name is converted to hexadecimal.Each NetBIOS name is 16 characters long.This last byte usually has special meaning because a name can appear multiple times on a computer, they are only different in the last byte.For example, is a space in ASCII text.
Type
Type of name.The name may be the most personal name or the group name.
Status
Determine whether the NetBIOS service on the remote (registered) remote computer or the duplicate computer name has registered the same service (Conflict).
State
Status of NetBIOS connections.
The following table describes the possible NetBIOS connection states:
Status
Describe
Connected
A connection session has been established.
associated
An end connection point has been set up and linked to an IP address.
listening
This endpoint is available for an inbound connection.
Idle
This last connection point has been opened but cannot receive the connection.
Connecting
A session is in the connected phase and the name-to-IP addressing scheme of the destination is being resolved.
Accepting
An inbound connection session is being accepted and will soon be connected.
Reconnecting
A session is trying to reconnect (failed to connect at the first attempt).
Outbound
A session is in the connection phase and at the same time the TCP connection is currently being created.
Inbound
An inbound connection session is in the established phase.
Disconnecting
A session is in the process of disconnecting.
Disconnected
The local computer has issued a disconnect command and is waiting for confirmation from the remote system.
* Note : This command is only available if Internet Protocol (TCP / IP) is installed as a component in the properties of the network adapter (Network Connections).
For example
To display the remote computer's NetBIOS table name with the name of a NetBIOS computer named CORP07, enter:
btstat / a CORP07
To display the NetBIOS table name of the remote computer assigned IP address of 10.0.0.99, type:
nbtstat / A 10.0.0.99
To display the NetBIOS table name of the local computer, type:
nbtstat / n
To display the contents of the NetBIOS local computer cache, type:
nbtstat / c
To clear the NetBIOS name cache and reload the # PRE-tagged # items available in the local Lmhosts file, enter:
nbtstat / R
To retrieve NetBIOS names registered with the WINS server and re-register them, type:
nbtstat / RR
To display NetBIOS session statistics by IP address every five seconds, type:
nbtstat / S 5
See more:
- Bitsadmin create command in Windows
- Bcdboot command in Windows
- The bcdedit command in Windows
- The autoconv command in Windows
You should read it
May be interested
- Instructions for using Command Promptdeep in windows is a command-line world that is obscure. in this article, we will show you how to solve errors and make your computer more secure.
- Rd command in Windowsthe rd command helps delete a directory
- Cmd command in Windowsthe cmd command starts a new version of the command interpreter, cmd.exe. if used without parameters, cmd will display copyright information and the version of the operating system.
- How to use the command history function in Command Promptcommand prompt is an extremely familiar command for anyone using windows operating system. besides, a lot of current software also supports the command line to perform actions on the command prompt window, instead of on the screen.
- The sfc command in Windows(applies to windows server (semi-annual channel), windows server 2016, windows server 2012 r2, windows server 2012)
- Reg command copy in Windowsto copy an entry to the location specified on the local pc or the remote computer we will use the reg copy command. to learn more about how to use the reg copy command, you can track the syntax, explain the command parameters and the example tipsmake.com has compiled below.
- Fc command in Windowsthe fc command compares two files or a collection of files and displays the differences between them.
- The echo command in Windowsthe echo command displays the message or turns on / off the command repeat feature. if used without parameters, the echo command will display the current echo setting.
- Xcopy command in Windowsthe xcopy command is a command prompt command used to copy one or more files or folders from one location to another. with many options and the ability to copy entire directories, the xcopy command is similar to, but much more powerful, than the copy command.
- The cacls command in Windowsthe cacls command displays or modifies an arbitrary access control list (dacl) on the specified file. the command applies to windows server (semi-annual channel), windows server 2016, windows server 2012 r2, windows server 2012.