How to Use the Netsh.exe Tool and Command-Line Switches

???? ?????? ???? ??????
???? ID: 242468 - ?? ???????? ?? ?????? ??? ?? ?? ???? ???? ???? ??.
?????
This article applies to Windows 2000.Support for Windows 2000 ends on July 13, 2010.TheWindows 2000 ???-??-?????? ?????? ??????Windows 2000 ?? ???? ????????? ?????? ?? ????? ????? ?? ??? ??? ??????? ????? ??? ???? ??????? ?? ??? ?????Microsoft ?????? Lifecycle ????.
??? ?? ??????? ???? | ??? ?? ??????? ????

?? ????? ??

??????

Netsh.exe is a tool an administrator can use to configure and monitor Windows-based computers at a command prompt. With the Netsh.exe tool, you can direct the context commands you enter to the appropriate helper, and the helper then carries out the command. ???? ????? ?? ?? ?? ?? ???? ??????, ??????????, ?? ????????? ?? ??? ???????????, ??????? ?? ?????? ?????? ???? Netsh.exe ????? ?? ??????????? ?? ????? ?? ?? ???? ???????? ???? ????????? (. dll) ????? ??? ????? ?? ????? ???? helpers ?? ??????? ???? ?? ??? ?? ???? ?? ?????

???? ???????

?? ????? ????? ???? ?? ??? Netsh.exe ????? ?? ????? ?? ???? ???:
  • ??????? ???????? ?????
  • ?????? ????????? ???????? ?????
  • ??????? ?? ???????? ?????
  • ????? ?? ???????? ?????
  • ?????? ?? ?????? ????? ????? (RRAS) ???? ?? ??? ?????? Windows-?????? ?????? ????? ?? ??? ?????? ????? ??????? ?? ???????? ?????
  • ???? ?? ???????? ?? ??????? ??? ?? ??? ???? ????? ?? ??????????? ?? ????????? ?????
  • ???? ?? ?????? ?? ???? ????????? ???? ?? ??????? ??? ??? ??? ????? ?? ??? ???????????? ?????? ?? ????? ?????
Netsh.exe ????? ?? ??? ???????? ??:
netsh [-r ????? ?? ???] [-?? AliasFile] [-c ??????] [???? | -f ScriptFile]
???? ?????? ??? subcontexts ?? ???? ?? ????? ?? ???? ?? ?? ?? ???? ????????? ????, ?? ???? ??? ????? ?????? ?? ??? ????? ?? ??? netsh ?? > ????? ?????????? Subcontext ?? ???? ??? ????? ???? ?? ???? ?? ?? ?? ???? ????????? ???? ?? ???, ?????? ?? ??? / ?????? ??????, ????????????netsh ?? > ????????? ????, ?? ???? ??? ENTER ??????

Contexts

?????? ?????????? Netsh.exe ????? ???? ????? ???? ??? ?? ??? ??????? ????? ???? ?? ??? ???? ??? ????? ?? ?? ?? ???? ?? ?? ???? ????????? contexts ???? ?? ??? ??? ?? ????? ???? ??? ??? contexts Netsh.exe ????? ??? ?????? ???:

?????? ????: /dhcp
??????: ???????? ???? ?? ??? ???????? ????? ??????????? ????????? (DHCP) ?? ?????? ???

?????? ????: /ras
??????: ???????? ???? ?? ??? ?????? ????? ????? (RAS) ?????? ???

?????? ?? ????: ?????? /
??????: ???????? ???? ?? ??? ?????? ?????? ???

?????? ????: /wins
??????: ???????? ???? ?? ??? Windows ??????? ??? ???? (WINS) ?? ?????? ???

???? contexts ??? contexts ????? ?? ?? ???? ??? ?????? ?? ???, ????? contexts netsh ?? ??????? ????? > ras ??????:

?????? ????: /ip
??????: ???????? ???? ?? ??? ??????? ????????? (IP) ?? ?????? ???

?????? ????: /ipx
??????: ???????? ???? ?? ??? ?????? Internetwork ????? Exchange (IPX)?

?????? ????: /netbeui
??????: ???????? ???? ?? ??? ?????? NetBios ????????? ?????????? ???????? (NETBEUI)?

????? subcontexts ????? ??? netsh > ip ?????? ?? ??????:

?????? ????: /autodhcp
??????: ???????? autodhcp subcontext ???? ?? ??? ???

?????? ????: /dnsproxy
??????: ???????? dnsproxy subcontext ???? ?? ??? ???

?????? ????: /igmp
??????: ???????? ???? ?? ??? ??????? ???? ??????? ????????? (IGMP) subcontext ???

?????? ????: /mib
??????: ???????? ??????? ??????? ????? (MIB) subcontext ???? ?? ??? ???

?????? ????: /nat
??????: ??????? ?????? ?????????? (NAT) subcontext ???? ?? ??? ?????????

?????? ????: /ospf
??????: ???????? ???? ?? ??? ????? ??????? ?? ????? (OSPF) subcontext ???

?????? ????: /relay
??????: ???????? relay subcontext ???? ?? ??? ???

?????? ????: /rip
??????: ???????? ???? ?? ??? ?????? ??????? ????????? (RIP) subcontext ???

Netsh.exe ????

????? ???????? ???? Netsh.exe ????? ?? ??? ????? ???? ?? ???? ??:

???::???????? ???????? ?????? ([]) ?? ????? ?? ???? ???????? ???????????? ?? ?????? ?? ??? ???? ???? (|) ???? ????? ?? ????

?????? ????: /?
??????: ??? ?? ????????? ???? ???

?????? ????: /abort
??????: ??????? ??? ??? ??? ?? ???????? ???????? ?? ???? ??? ?????? ??? ??? ??? ?????? ???? ???

?????? ????: / ????? DLL ??? ??????
??????: netsh.exe ??? ?????. dll ????? ?? ??????? ???? ???

?????? ????: /alias [?????-???] [string1] [... string2]
??????: ??? /alias, ??? aliases ???? ???? ???? ??? ???/??????????? ??? ???, ?????? ???????? ????????? ???? ??? ???/??????????? ??? ??? string1 string2..., ????? ??? ????????? ???????? ?? ??? ??? ???? ???

?????? ????: /bye
??????: ????????? ?? ???? ??????? ???

?????? ????: /commit
??????: Commits ???? ?? ??? ??????? ??? ??? ??? ?? ???????? ???? ?????? ??? ??? ??? ?????? ???? ???

?????? ????: / ????? ?????. dll ????? ?? ???
??????: Netsh.exe ?? ?????. dll ????? ?? ????? ???? ???

?????? ?? ????: ???? /????? ???
??????: Dumps ?? ???? ??? ???? ?? ??? ??????????? appends ???

?????? ????: /exec????????? ????? ?? ???
??????: ????????? ????? ?? ??? ???? ?? ?? ????? ?? ???? ????????? ???? ???

?????? ????: /exit
??????: ????????? ?? ???? ??????? ???

?????? ????: /h
??????: ??? ?? ????????? ???? ???

?????? ????: /help
??????: ??? ?? ????????? ???? ???

?????? ????: / ???????
??????: ?????? ???? ?? ??? ??????? ??? ??? ???? ??? ?? ??? ??? ??? ?? ???????? ????? ?? ???, ????? ???? ???? ??? ??? ???? ?? ??? "??????" ???? ?? "commit" ?? ???????? ???

?????? ????: / ??????
??????: ?????? ???? ?? ??? ??????? ??? ??? ???? ??? ?? ??? ??? ??? ?? ???????? ????? ???? ??? ??????????? ????

?????? ????: /popd
??????: ????? ?? ??? ?????? ??? ???? ???

?????? ????: /pushd
??????: Pushes ????? ?? ??????? ?????? ????

?????? ????: / ?? ???? ??????
??????: ????????? ?? ???? ??????? ???

?????? ????: / ??? ??? [??? =] ?????? | ??????
??????: ??????? ??? ?????? ?? ??????? ??? ??? ???? ???

??????? ??????/?????? ?? ????: | ????? | ???
??????: ??? /show ???????, ???????? ??? ????????? aliases. ???/????? ??????, ??? ????-?????? helpers ?? ???? ???? ???? ??? ???/??? ??????, ??????? ??? ??? ?????? ???

?????? ????: /unalias???? ??? ?? ???
??????: ????????? ???? ??? ?? ????? ???

????? ???????? ???? ??????????? ????? ??????

?????? ?? ?????? ????? IP ???????????? - Ipmontr.dll
?????? ?? ?????? ????? IPX ??????????? - Ipxmontr.dll
??????? - Ifmon.dll
RAS - Rasmontr.dll
DHCP - Dhcpmon.dll
WINS - Winsmon.dll

????? ???????? ???? ??????????? ??????? ?? ??? ????????? ????????? ?? ?????? ????

HKEY_LOCAL_MACHINE/??????????/Microsoft/NetSh /
REG_SZ: Ipmontr.dll
REG_SZ: Ipxmontr.dll
REG_SZ: Ifmon.dll
REG_SZ: Rasmontr.dll
REG_SZ: Dhcpmon.dll
REG_SZ: Winsmon.dll


???:: ??? Netsh ?? ????? ???? ?? ??? ?????? ???? - <file name="">???? ?? ??? ??????????? ????? ???? ???? ???, ???????? ?? ????? ???? ?? ?????? ????:</file>netsh ???? > ????? ??? ?? path\filename, ??? ???? ?????? ???

???

???? ID: 242468 - ????? ???????: 02 ?????? 2010 - ??????: 2.0
???? ???? ???? ??:
  • Microsoft Windows 2000 Server
  • Microsoft Windows 2000 Advanced Server
  • Microsoft Windows 2000 Professional Edition
??????: 
kbinfo kbnetwork kbmt KB242468 KbMthi
???? ?????? ????????
??????????: ?? ???? ?? ???? ??????? ?? ????? ?? Microsoft ????-?????? ?????????? ?????? ?????? ???? ??? ??. Microsoft ???? ??? ????-???????? ?? ????-???????? ????? ?????? ?? ???? ???????? ???? ?? ???? ????? ????? ??? ?? ??? ?????? ?? ???? ???? ???? ??? ????? ??. ???????, ????-???????? ???? ????? ???? ???? ???? ???. ?????, ????????, ?????-???? ?? ??????? ?? ???????? ?? ???? ???, ???? ?? ??? ?????? ???? ???? ??? ????? ??? ?? ???? ??. Microsoft ??????? ??? ???? ?? ?????? ?? ??????????, ????????? ?? ??? ?????? ?? ???? ????? ?? ???? ???????? ?? ??? ???? ????? ?? ??? ????????? ???? ??. Microsoft ????-?????? ?????????? ?? ????? ?????? ?? ?? ??? ??.
?????????? ?? ??????? ????????? ??????? ??:242468

??????????? ???

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com