.


:




:

































 

 

 

 





, .

(, ) '>'. prompt.

C:\Documents and Settings\ login-.

, , . , . , , . "-" "/". (), ( Windows ). , . (, ) , ( '"'). Enter(Return).

, ( .COM .EXE), .BAT ( ).

, , , Path.

, , , :

c:\doc\prog\myprog

Enter , Backspace (ß).

, ( ) ¯, ( Ins).

, , , Windows, ( , , ) .

 

Windows

Windows XP ( ) 1.

 

1 Windows XP

ASSOC .
AT .
ATTRIB .
BREAK / Ctrl+C.
CACLS / (ACL) .
CALL .
CD .
CHCP .
CHDIR .
CHKDSK .
CHKNTFS .
CLS .
CMD Windows.
COLOR , .
COMP .
COMPACT / NTFS.
CONVERT FAT NTFS. .
COPY .
DATE .
DEL .
DIR .
DISKCOMP .
DISKCOPY .
DOSKEY ; .
ECHO .
ENDLOCAL .
ERASE .
EXIT CMD.EXE ( ).
FC .
FIND .
FINDSTR .
FOR .
FORMAT Windows.
FTYPE , .
GOTO .
GRAFTABL Windows .
HELP Windows.
IF .
LABEL , .
MD .
MKDIR .
MODE .
MORE .
MOVE .
PATH .
PAUSE .
POPD , PUSHD.
PRINT .
PROMPT Windows.
PUSHD .
RD .
RECOVER .
REM CONFIG.SYS.
REN .
RENAME .
REPLACE .
RMDIR .
SET , Windows.
SETLOCAL .
SHIFT () .
SORT .
START .
SUBST .
TIME .
TITLE CMD.EXE.
TREE .
TYPE .
VER Windows.
VERIFY .
VOL .
XCOPY .

 

 

, Windows XP help .

Windows XP

- /?

help -

, dir :

dir /? help dir

. MORE |, :

XCOPY /? | MORE

. , > >>, , , . , ipconfig Seti.doc :

ipconfig > D:\Seti.doc

 

, >>. ,

arp -a Seti.doc

 

arp >> D:\Seti.doc

 

.

 

20.1.
> , , .
< , .
>> , .
>& .
<& .
| . "".

 

/ , . , . , , , :

  • ( ), ( );
  • ( ), ( );
  • , , ( ).

 

Windows:

ARP
IPCONFIG
GETMAC
NBTSTAT
NETSH
NETSTAT
NET
NSLOOKUP
PATHPING
PING
ROUTE
TELNET
TRACERT
.

IPCONFIG.

 

IPCONFIG Windows. Windows Vista/Windows 7

IPCONFIG TCP/IP , Dynamic Host Configuration Protocol (DHCP).

:

ipconfig [/allcompartments] [/all] [/renew[Adapter]] [/release[Adapter]] [/renew6[Adapter]] [/release6[Adapter]] [/flushdns] [/displaydns] [/registerdns] [/showclassidAdapter] [/setclassidAdapter [ClassID]]

:

/? - IPCONFIG

/all - TCP/IP . , , , dialup VPN .

/allcompartments - TCP/IP . Windows Vista/Windows 7.

/displaydns - DNS - .

/flushdns - DNS - .

/registerdns - DNS . DNS .

/release[Adapter] - , DHCP. , .

/release6[Adapter] - IPv6

/renew[Adapter] - DHCP. , .

/renew6[Adapter] - , IPv6

/showclassid Adapter /setclassid Adapter[ ClassID] - Windows Vista / Windows 7 Class ID, DHCP - .

IPCONFIG, , , DHCP (Dynamic Host Configuration Protocol) IP - APIPA (Automatic Private IP Addressing).

IPCONFIG , , . , DOS-.

* :

* -
* - " "
* * - " "

:

ipconfig - . BR>
ipconfig /all - .

ipconfig /renew " 2" - , DHCP - " 2"

ipconfig /dysplaydns - DNS

ipconfig /showclassid " " - DHCP.

ipconfig /setclassid "Local Area Connection" TEST - "Local Area Connection" DHCP "TEST". DHCP , .

:

Ethernet adapter : -
DNS- .....: - DNS-
.............: Realtek 8139d Adapter #2 - .
.........: 00-14-02-7B-ED-67 - MAC- .
DHCP ...........: - DHCP
......: - (APIPA) DHCP.
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\GUID \IPAutoconfigurationEnabled
0 ( DWORD) IPAutoconfigurationEnabled APIPA. 1, , APIPA .

IPv4-....: 169.254.254.18() - , APIPA

IPv6- ...: fe80::7c22:e7f8:3a71:8249%16() - IPv6 , IPv6

IPv4-............: 10.10.11.77() - IPv4 - .

..........: 255.255.224.0 - .

..........: 2 2012 . 22:44:48 - DHCP

..........: 3 2012 . 2:31:27 - . DHCP.

.........: 10.10.11.1 - IP - , .

DHCPv4..........: TEST - DHCP, .

DHCP-...........: 10.10.11.11 -- IP- DHCP-, .

2 ( DHCP - DUID IAID) IPv6. DHCPv6. , DHCP REQUEST. , . DUID, . DUID, DHCP REPLY. .
IAID - IPv6- 4 . , ( ). , DHCP RENEW . IAID, DHCP . , DHCP REPLY .

IAID DHCPv6...........: 234890384 - IAID

DUID DHCPv6.......: 00-01-00-01-14-E2-78-C0-00-0C-1E-7C-29-E3 - DHCP

DNS-...........: 94.25.128.74
94.25.208.74
- DNS - , IP- .

NetBios TCP/IP........: - NetBios TCP/IP.


PING.EXE

 

PING.EXE - . IP-.

ICMP (Internet Control Message Protocol). ping Echo Request ( 8 ) . icmp- . , icmp- , , Echo Reply ( 0). icmp- - , ping .

:

ping [-t] [-a] [-n ] [-l ] [-f] [-i TTL] [-v TOS] [-r ] [-s ] [[-j ] | [-k ]] [-w ]

:

-t - . + ( ), + ( ).
-a - . -n - -.
-l - .
-f - , .
-i TTL - ( "Time To Live").
-v TOS - ( "Type Of Service").
-r - .
-s - .
-j - .
-k - .
-w - .

:

ping tut.by - tut.by
ping 8.8.8.8 - IP- 8.8.8.8 .
ping -t yandex.ru - ping CTRL-C, CTRL-Break -
ping -n 1000 -l 500 192.168.1.1 - ping 1000 , 500 .
ping -a -n 1 -r 9 -w 1000 yandex.ru - ping 1 ( -n 1), ( -a), 9 (-r 9), 1 (1000)

-r , tracert, 9.


NETSH.EXE

 

NETSH (NETwork SHell) - Windows XP . , . , , wlan (netsh wlan - ) Windows Vista Widows XP. Windows.

NETSH.EXE . , . ? . . , , , . , , NETSH . :

netsh advfirewall show global advfirewall, , show global

NETSH . Netsh , , . , NETSH , , .

:

NETSH.EXE [-a AliasFile] [-c Context] [-r RemoteMachine] [-u [DomainName\]UserName] [-p Password | *] [Command | -f ScriptFile]

-a AliasFile - AliasFile. AliasFile - , netsh.

-c Context - () netsh.

-r RemoteMachine - netsh . RemoteMachine IP-.

[-u DomainName\]UserName - . , .

-p Password .

Command - netsh, .

-f ScriptFile - -a, Scriptfile, netsh .

netsh? netsh Windows 7:

:

:
? - .
add - .
advfirewall - 'netsh advfirewall'.
branchcache - 'netsh branchcache'.
bridge - 'netsh bridge'.
delete - .
dhcpclient - 'netsh dhcpclient'.
dnsclient - 'netsh dnsclient'.
dump - .
exec - .
firewall - 'netsh firewall'.
help - .
http - 'netsh http'.
interface - 'netsh interface'.
ipsec - 'netsh ipsec'.
lan - 'netsh lan'.
mbn - 'netsh mbn'.
namespace - 'netsh namespace'.
nap - 'netsh nap'.
netio - 'netsh netio'.
p2p - 'netsh p2p'.
ras - 'netsh ras'.
rpc - 'netsh rpc'.
set - .
show - .
trace - 'netsh trace'.
wcn - 'netsh wcn'.
wfp - 'netsh wfp'.
winhttp - 'netsh winhttp'.
winsock - 'netsh winsock'.
wlan - 'netsh wlan'.

:
advfirewall branchcache bridge dhcpclient dnsclient firewall http interface ipsec lan mbn namespace nap netio p2p ras rpc trace wcn wfp winhttp winsock wlan

, , "?"

, :

Netsh interface

netsh dump | more

:

netsh interface show interface /?





:


: 2016-03-25; !; : 555 |


:

:

, .
==> ...

1370 - | 1296 -


© 2015-2024 lektsii.org - -

: 0.07 .