欢迎来到天天文库
浏览记录
ID:9784730
大小:3.24 MB
页数:530页
时间:2018-05-09
《command-line reference a-z╲tcmd命令集》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、Command-linereferenceA-ZArp56outof71ratedthishelpful - RatethistopicDisplaysandmodifiesentriesintheAddressResolutionProtocol(ARP)cache,whichcontainsoneormoretablesthatareusedtostoreIPaddressesandtheirresolvedEthernetorTokenRingphysicaladdresses.Thereisaseparateta
2、bleforeachEthernetorTokenRingnetworkadapterinstalledonyourcomputer.Usedwithoutparameters, arp displayshelp.Syntaxarp [-a [InetAddr][-N IfaceAddr]][-g [InetAddr][-N IfaceAddr]][-d InetAddr [IfaceAddr]][-s InetAddrEtherAddr [IfaceAddr]]Topofpage Parameters-a [ Inet
3、Addr ][ -N IfaceAddr ] : DisplayscurrentARPcachetablesforallinterfaces.TodisplaytheARPcacheentryforaspecificIPaddress,use arp-a withthe InetAddr parameter,whereInetAddr isanIPaddress.TodisplaytheARPcachetableforaspecificinterface,usethe -N IfaceAddr parameterwh
4、ere IfaceAddr istheIPaddressassignedtotheinterface.The -Nparameteriscase-sensitive.-g [ InetAddr ][ -N IfaceAddr ] : Identicalto -a.-d InetAddr [ IfaceAddr ] : DeletesanentrywithaspecificIPaddress,where InetAddr istheIPaddress.Todeleteanentryinatableforaspeci
5、ficinterface,usethe IfaceAddr parameterwhereIfaceAddr istheIPaddressassignedtotheinterface.Todeleteallentries,usetheasterisk(*)wildcardcharacterinplaceof InetAddr.-s InetAddrEtherAddr [ IfaceAddr ] : AddsastaticentrytotheARPcachethatresolvestheIPaddress InetAdd
6、r tothephysicaladdress EtherAddr.ToaddastaticARPcacheentrytothetableforaspecificinterface,usethe IfaceAddr parameterwhere IfaceAddr isanIPaddressassignedtotheinterface./? : Displayshelpatthecommandprompt.Topofpage Remarks·TheIPaddressesfor InetAddr and IfaceAdd
7、r areexpressedindotteddecimalnotation.·Thephysicaladdressfor EtherAddr consistsofsixbytesexpressedinhexadecimalnotationandseparatedbyhyphens(forexample,00-AA-00-4F-2A-9C).·Entriesaddedwiththe -s parameterarestaticanddonottimeoutoftheARPcache.Theentriesareremovedi
8、ftheTCP/IPprotocolisstoppedandstarted.TocreatepermanentstaticARPcacheentries,placetheappropriate arp commandsinabatchfileanduseScheduledTasks torunthebatchfile
此文档下载收益归作者所有