Network Services

Monday, April 21, 2014

The –r Switch


The –r Switch
This switch is probably the most commonly used switch when NetBIOS over TCP/IP (NBT) statistics are checked. The –r switch displays the statistics of how many NetBIOS names have been
resolved to TCP/IP addresses. Figure 4.8 shows sample output of the nbtstat –r command.
     As you can see, the statistics are divided into categories. The first category is NetBIOS Names Resolution and Registration Statistics, which shows how many names have been resolved or registered either by broadcasts on the local segment or by lookup from a WINS name server. The second category gives the NetBIOS unique and group names and their associated hex IDs that were resolved or registered. In Figure 4.8, the output shows that no WINS server is operating, so all NetBIOS names were resolved by broadcast only. This is evident from the lack of statistics of names resolved by a name server.

FIGURE 4 . 8 Sample output of the nbtstat –r command


NOTE:
The –r switch is useful in determining how a workstation is resolving NetBIOS names and whether WINS is configured correctly. If WINS is not configured correctly or is simply not being used, the numbers in the Resolved by Name Server and Registered by Name Server categories will always be zero.

0 comments:

Post a Comment