Understanding NBTSTAT command and how it works

NBTSTAT command

Nbtstat is a command line utility for troubleshooting name resolution issues with NetBIOS. Let’s face it, you aren’t going to be using NetBIOS. You’re going to be using DNS. Microsoft supports NetBIOS, so they feel you should be familiar with it.



I liken this with Cisco forcing you to be familiar with Frame Relay. It’s a legacy technology but if you’re going to pass the exam, you need to be familiar. This is accomplished by adding -C.




This will list each interface and the cached entries associated with that interface. I’m going to go ahead and clear the screen now. Nbtstat -a will allow you list the name table along with the associated MAC address for a remote machine. It is entered in the form of nbtstat -a and then the computer name.




Here I’ll use this local computer. CAR-BOOTH-01-PC. You can produce the same results but use a capital -A and specify the IP address of the remote machine.

I’ll clear the screen. I’ll issue the command and use the local machine’s IP. Nbstat -A 10.3.25.52. As you can see, once it actually hit that interface IP, it listed all the information. Again, I’m going to issue a clear screen. Finally, nbstat -s will list any sessions. You are unlikely to see any of this in the wild but it’s always a good idea to be familiar with it on a basic level.

Commands




Hamza Arif
Follow us

Hamza Arif

Hey, i hamza arif student of telecommunication from BZU, i am good in Networking, Telecommunication and Web Development working on different projects and try my best to teach them to all of you.
Hamza Arif
Follow us

Leave a comment

Your email address will not be published. Required fields are marked *