TCP/IP Transmission Control Protocol/Internet Protocol

Resource: Windows 2000 Server Resource kit TCP/IP Core Networking Guide

> Part2 > TCPIP > Commands > Netdiag

Netdiag

این فرمان برای Test کردن ارتباطات شبکه و Client استفاده می شود کلیه موارد لازم را چک می کند تا به Admin یک گزارش از  عملکرد سیستم در شبکه را بدهد.

Computer Name: Server1
    DNS Host Name: Server1.Reskit.com
    Processor : x86 Family 6 Model 5 Stepping 1, GenuineIntel
    List of installed hotfixes : 
        Q147222
Netcard queries test . . . . . . . : Passed
Per interface results:
Adapter : Local Area Connection
Netcard queries test . . . : Passed
Host Name. . . . . . . . . : Server1.Reskit.Reskit.com
        IP Address . . . . . . . . : 172.16.128.19
        Subnet Mask. . . . . . . . : 255.255.252.0
        Default Gateway. . . . . . : 172.16.128.1
        Primary WINS Server. . . . : 172.16.254.203
        Dns Servers. . . . . . . . : 172.16.128.19
AutoConfiguration results. . . . . . : Passed
Default gateway test . . . : Passed
NetBT name test. . . . . . : Passed
            No remote names have been found.
WINS service test. . . . . : Passed
Global results:
Domain membership test . . . . . . : Passed
NetBT transports test. . . . . . . : Passed
    List of NetBt transports currently configured.
        NetBT_Tcpip_{F5A7E415-9D0B-444B-8028-11238D589BD0}
    1 NetBt transport currently configured.
Autonet address test . . . . . . . : Passed
IP loopback ping test. . . . . . . : Passed
Default gateway test . . . . . . . : Passed
NetBT name test. . . . . . . . . . : Passed
Winsock test . . . . . . . . . . . : Passed
DNS test . . . . . . . . . . . . . : Passed
    PASS - All the DNS entries for DC are registered on DNS server 172.16.128.19.
Redir and Browser test . . . . . . : Passed
    List of NetBt transports currently bound to the Redir
        NetBT_Tcpip_{F5A7E415-9D0B-444B-8028-11238D589BD0}
    The redir is bound to 1 NetBt transport.
List of NetBt transports currently bound to the browser
        NetBT_Tcpip_{F5A7E415-9D0B-444B-8028-11238D589BD0}
    The browser is bound to 1 NetBt transport.
DC discovery test. . . . . . . . . : Passed
DC list test . . . . . . . . . . . : Passed
Trust relationship test. . . . . . : Skipped
Kerberos test. . . . . . . . . . . : Passed
LDAP test. . . . . . . . . . . . . : Passed
Bindings test. . . . . . . . . . . : Passed
WAN configuration test . . . . . . : Skipped
    No active remote access connections.
Modem diagnostics test . . . . . . : Passed
The command completed successfully 

در جدول زیر لیست Switch های این فرمان را مشاهده می کنید .

Switch

Name

Function

/q

Quiet output

Lists only tests that return errors.

/v

Verbose output

More extensive listing of test data as tests are performed.

/l

Log output

Stores output in NetDiag.log, in the default directory.

/debug

Most verbose output

Complete list of test data with reasons for success or failure.

/d:<DomainName>

Find DC

Finds a domain controller in the specified domain.

/fix

Fix DNS problems

Compares DNS value to host file.

/DcAccountEnum

Enumerate DC

Enumerates Domain Controller computer accounts.

/test:<test name>

Single test

Runs only the test specified by <test name>. For a complete list, type netdiag /?.

/skip:<test name>

Skip test

Skips the named test.

Table 3.6 Netdiag Switches

 

TCP/IP Transmission Control Protocol/Internet Protocol

LastUpdate:2005/04/05

> Part2 > TCPIP > Commands > Netdiag