Desi pot parea demodate anumite comenzi (comenzi tip MS-DOS rulate in fereastra de comenzi) sunt indispensabile la diagnosticarea retelei sau pentru manipularea adresei IP chiar in Windows.
Unde e linia de comanda in Windows?
Butonul start, iar din meniu alege comanda RUN; tasteaza cmd si apasa ENTER; iata linia de comanda...
Aici se tastati comenzile si apasati ENTER pentru executia lor.
Comenzi pentru retea
Aceste comenzi permit diagnosticarea retelei, a unor statii din retea, va permit sa aflati diferite informatii despre calitatea comunicatiei si caile de comunicatie disponibile.
ping ?
Permite testare calitatii conexiunii catre "un calculator", ofera informatii cu privire la starea unei masini in retea: alive/down.
ex : ping www.yahoo.com
Pinging yahoo.com [69.147.114.224] with 32 bytes of data:
Reply from 69.147.114.224: bytes=32 time=122ms TTL=54
Reply from 69.147.114.224: bytes=32 time=122ms TTL=54
Reply from 69.147.114.224: bytes=32 time=120ms TTL=54
Reply from 69.147.114.224: bytes=32 time=121ms TTL=54
Ping statistics for 69.147.114.224:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 120ms, Maximum = 122ms, Average = 121ms
C:\Documents and Settings\Administrator>
tracert ?
Trasare ruta IP catre o destinatie:
ex : tracert www.yahoo.com
Tracing route to rdsnet.ro [81.196.12.33]
over a maximum of 30 hops:
1 * 1986 ms <1 ms 10.0.254.1
2 2 ms 2 ms 2 ms 10.0.0.1
3 6 ms 3 ms 2 ms 10.144.158.73
4 6 ms 6 ms 6 ms bb01.bucuresti.rdsnet.ro [213.154.130.170]
5 7 ms 6 ms 6 ms qr25.bucuresti.rdsnet.ro [194.102.81.3]
6 7 ms 7 ms 8 ms dr32.bucuresti.rdsnet.ro [82.76.243.35]
7 7 ms 6 ms 7 ms www.rdsnet.ro [81.196.12.33]
Trace complete.
netstat ?
netstat permite afisare conexiuni (sesiuni deschise) TCP/IP pentru calculatorul respectiv.
ex : netstat, netstat /n
arp ?
Afisarea adresa MAC (MAC Addresses) si modificarea tabelei IP to Phisical adress folosita de protocolul ARP.
ex : arp -a
ipconfig ?
ipconfig permite afisare de informatii cu privire la conexiunile la retea si permite anumite actiuni asupra acestora.
ex : ipconfig
- afisare configurare detaliata conexiuni: ipconfig /all
- terminarea tuturor conexiunilor IP (Release All IP Address Connections): ipconfig /release
- reinoirea conexiunilor IP (Renew All IP Address Connections): ipconfig /renew
- afisare cache DNS: ipconfig /displaydns
- stergere cache DNS: ipconfig /flushdns
- afisare configurare detaliata conexiuni: ipconfig /all
- afisare configurare detaliata conexiuni: ipconfig /all