版權說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權,請進行舉報或認領
文檔簡介
1、網(wǎng)絡系統(tǒng)管理常用工具主要內(nèi)容網(wǎng)絡管理的基本命令ping命令ipconfig/winipcfg命令Netstat命令Nbtstat命令Tracert命令Pathping命令Arp命令routeping命令Ping源于潛水艇上的聲納回音的擬聲詞在網(wǎng)絡中ping命令是一個測試網(wǎng)絡暢通的基本命令Ping命令可以測試網(wǎng)絡連通和速度Ping命令應用于TCP/IP協(xié)議的網(wǎng)絡(包括局域網(wǎng)和廣域網(wǎng))Ping命令的格式Ping -t -a -n count -l size -f -i TTL -v TOS -r count -s count -j host-list|-k host-list -w timeout
2、 參數(shù)說明-t 不間斷地ping指定的計算機-a 將ip解析為計算機名-n count 發(fā)送count個數(shù)據(jù)包給目的主機-l size 發(fā)送大小為size的數(shù)據(jù)包給目的主機-f 發(fā)送不分段標志-i TTL 指定在對方系統(tǒng)中停留的時間-v TOS設定服務類型“TOS”-r count 在記錄路由字段中記錄傳出和返回數(shù)據(jù)包的路由器,用來跟蹤路由-s count 類似-r參數(shù),但是只能記錄4個路由-w timeout 設置等待應答的時間(以毫秒)為單位ipconfig/winipcfg命令ipconfig/winipcfg命令可以用來查看和修改網(wǎng)絡中與TCP/IP協(xié)議有關的配置。Ipconfig命令
3、能查看相關配置,在控制臺中才可以使用命令Winipcfg命令可以查看和修改相關配置,這個是一個windows圖形界面的命令Ipconfig命令格式:ipconfig /? | /all | /renew adapter / release adapter | /flushdns | /displaydns | /registerdns | /showclassid adapter | /setclassid adapter classid 參數(shù)說明/?:幫助信息USAGE: ipconfig /? | /all | /renew adapter | /release adapter | /fl
4、ushdns | /displaydns | /registerdns | /showclassid adapter | /setclassid adapter classid where adapter Connection name (wildcard characters * and ? allowed, see exles) Options: /? Display this help message /all Display full configuration information. /release Release the IP address for the specified
5、 adapter. /renew Renew the IP address for the specified adapter. /flushdns Purges the DNS Resolver cache. /registerdns Refreshes all DHCP leases and re-registers DNS names /displaydns Display the contents of the DNS Resolver Cache. /showclassid Displays all the dhcp class IDs allowed for adapter. /s
6、etclassid Modifies the dhcp class id. The default is to display only the IP address, subnet mask anddefault gateway for each adapter bound to TCP/IP.For Release and Renew, if no adapter name is specified, then the IP addressleases for all adapters bound to TCP/IP will be released or renewed.For Setc
7、lassid, if no ClassId is specified, then the ClassId is removed.Exles: ipconfig . Show information. ipconfig /all . Show detailed information ipconfig /renew . renew all adapters ipconfig /renew EL* . renew any connection that has its name starting with EL ipconfig /release *Con* . release all match
8、ing connections, eg. Local Area Connection 1 or Local Area Connection 2/all :顯示所有的IP地址的配置信息Windows IP Configuration Host Name . . . . . . . . . . . . : USER-47689A531F Primary Dns Suffix . . . . . . . : Node Type . . . . . . . . . . . . : Unknown IP Routing Enabled. . . . . . . . : No WINS Proxy Ena
9、bled. . . . . . . . : NoEthernet adapter 本地連接: Connection-specific DNS Suffix . : Description . . . . . . . . . . . : Realtek RTL8139 Family PCI Fast Ethernet NIC Physical Address. . . . . . . . . : 00-A1-B0-03-70-35 Dhcp Enabled. . . . . . . . . . . : Yes Autoconfiguration Enabled . . . . : Yes Lea
10、se Obtained. . . . . . . . . . : 2006年10月8日 14:41:13 Lease Expires . . . . . . . . . . : 2006年10月9日 2:41:13Ethernet adapter 25B4C18C-FA72-4962-8D16-FBC673F376F6: Media State . . . . . . . . . . . : Media disconnected Description . . . . . . . . . . . : VCD VNC Adapter - 數(shù)據(jù)包計劃程序微型端口 Physical Address.
11、 . . . . . . . . : 06-00-07-D2-05-00Ipconfig顯示W(wǎng)indows 2000 IP Configuration說明 Host Name . . . . . . . . . . . . : USER-47689A531F主機名: Node Type . . . . . . . . . . . . : Unknown節(jié)點類型:不知道(可以有廣播、混雜等) IP Routing Enabled. . . . . . . . : NoIP路由Ethernet adapter 本地連接: Connection-specific DNS Suffix . : DNS
12、后綴 Description . . . . . . . . . . . : Realtek RTL8139 Family PCI Fast Ethernet NIC網(wǎng)卡描述 Physical Address. . . . . . . . . : 00-A1-B0-03-70-35MAC地址 Dhcp Enabled. . . . . . . . . . . : YesDHCP服務:開啟 Autoconfiguration Enabled . . . . : Yes自動配置:開啟Windows 2000 IP Configuration說明 IP Address. . . . . . . .
13、. . . . : 7IP地址 Subnet Mask . . . . . . . . . . . : 子網(wǎng)掩碼 Default Gateway . . . . . . . . . : 54默認網(wǎng)關 DHCP Server . . . . . . . . . . . : 8DHCP服務器地址 DNS Servers . . . . . . . . . . . : 30DNS服務器地址Lease Obtained. . . . . . . . . . : 2006年10月8日 14:41:1
14、3DHCP地址獲得時間Lease Expires . . . . . . . . . . : 2006年10月9日 2:41:13DHCP地址失效時間Windows 2000 IP Configuration說明以下信息是寬帶撥號信息:PPP adapter Connection to defeng_MA5200PPP協(xié)議連接的主機名 Connection-specific DNS suffix .:DNS后綴 Description . . . . . . . . . . . : WAN(PPP/SLIP) Interface連接描述 Physical Address. . . . . .
15、. . . : 00-A1-B0-03-70-35MAC地址 Dhcp Enabled. . . . . . . . . . . : NoDHCP:關 IP Address. . . . . . . . . . . . : 01 Subnet Mask . . . . . . . . . . . : 55 Default Gateway . . . . . . . . . : 01 DNS Servers . . . . . . . . . . . : NetBIOS over TCP/IP . .
16、 . . . : DisabledNetBIOS與TCP/IP綁定:關/renew adapter :刷新配置Windows IP ConfigurationNo operation can be performed on while it has its media disconnected.Ethernet adapter 本地連接: Connection-specific DNS Suffix . : Ethernet adapter 25B4C18C-FA72-4962-8D16-FBC673F376F6: Media State . . . . . . . . . . . : Med
17、ia disconnected/release adapter :釋放指定的網(wǎng)絡配置卡IP地址Windows IP ConfigurationNo operation can be performed on while it has its media disconnected.Ethernet adapter 本地連接: Connection-specific DNS Suffix . : Default Gateway . . . . . . . . . : Ethernet adapter 25B4C18C-FA72-4962-8D16-FBC673F376F6: Media State
18、 . . . . . . . . . . . : Media disconnected/flushdns :刷新客戶機解析程序的緩存/displaydns :顯示和查看客戶機解析程序的緩存Windows IP Configuration - Record Name . . . . . : 27.. Record Type . . . . . : 12 Time To Live . . . . : 599630 Data Length . . . . . : 4 Section . . . . . . . : Answer PTR Record . . .
19、. . : localhost localhost - Record Name . . . . . : localhost Record Type . . . . . : 1 Time To Live . . . . : 599630 Data Length . . . . . : 4 Section . . . . . . . : Answer/registerdns :續(xù)訂DNS客戶注冊/showclassid adapter :顯示DHCP類別ID信息setclassid adapter classid :設置DHCP類別ID信息Winipcfg命令在windows 9x系統(tǒng)中使用,是一
20、種圖形界面的命令,可以看到網(wǎng)卡的MAC、IP地址,網(wǎng)關、DHCP、DNS等Netstat命令專門用來顯示活動的TCP連接、計算機監(jiān)聽的端口、以太網(wǎng)統(tǒng)計信息、IP路由表、IPv4(IP、ICMP、TCP和UDP協(xié)議)統(tǒng)計信息、IPv6(IPv6、ICMPv6、通過IPv6的TCP和UDP協(xié)議)統(tǒng)計信息Netstat命令的格式Netstat -a -e -n -p proto -r interval-? 幫助信息C:Documents and Settingsadminnetstat -?顯示協(xié)議統(tǒng)計信息和當前 TCP/IP 網(wǎng)絡連接。NETSTAT -a -b -e -n -o -p proto
21、 -r -s -v interval -a 顯示所有連接和監(jiān)聽端口。 -b 顯示包含于創(chuàng)建每個連接或監(jiān)聽端口的 可執(zhí)行組件。在某些情況下已知可執(zhí)行組件 擁有多個獨立組件,并且在這些情況下 包含于創(chuàng)建連接或監(jiān)聽端口的組件序列 被顯示。這種情況下,可執(zhí)行組件名 在底部的 中,頂部是其調(diào)用的組件, 等等,直到 TCP/IP 部分。注意此選項 可能需要很長時間,如果沒有足夠權限 可能失敗。 -e 顯示以太網(wǎng)統(tǒng)計信息。此選項可以與 -s 選項組合使用。 -n 以數(shù)字形式顯示地址和端口號。 -o 顯示與每個連接相關的所屬進程 ID。 -p proto 顯示 proto 指定的協(xié)議的連接;proto 可以是
22、 下列協(xié)議之一: TCP、UDP、TCPv6 或 UDPv6。 如果與 -s 選項一起使用以顯示按協(xié)議統(tǒng)計信息,proto 可以是下列協(xié)議之一: IP、IPv6、ICMP、ICMPv6、TCP、TCPv6、UDP 或 UDPv6。 -r 顯示路由表。 -s 顯示按協(xié)議統(tǒng)計信息。默認地,顯示 IP、 IPv6、ICMP、ICMPv6、TCP、TCPv6、UDP 和 UDPv6 的統(tǒng)計信息; -p 選項用于指定默認情況的子集。 -v 與 -b 選項一起使用時將顯示包含于 為所有可執(zhí)行組件創(chuàng)建連接或監(jiān)聽端口的 組件。 interval 重新顯示選定統(tǒng)計信息,每次顯示之間 暫停時間間隔(以秒計)。按
23、CTRL+C 停止重新 顯示統(tǒng)計信息。如果省略,netstat 顯示當前 配置信息(只顯示一次)-a 顯示所有活動的TCP連接和計算機偵聽的TCP和UDP端口-e 顯示統(tǒng)計信息-p proto 通過proto參數(shù)指定的協(xié)議的連接-r 顯示本機路由表Interval 每間隔interval秒重新顯示一次統(tǒng)計信息Proto 表示協(xié)議名稱,可以是TCP、UDP或其他協(xié)議名稱狀態(tài):Close_waitclosedestablishedfin_wait_1Fin_wait_2lask_acklistensyn_receivedsyn_sendtimed_waitNbtstat命令Nbtstat顯示本地計
24、算機和遠程計算機的基于TCP/IP(NetBt)協(xié)議的NetBios統(tǒng)計資料、NetBios名稱表和NetBios名稱緩存。目前這個命令已經(jīng)不常用了。Nbtstat命令格式Nbtstat -a remotename -A IPAddress -c -n -r -R -RR -s -S Interval參數(shù)介紹-a remotename 顯示遠程計算機的NetBios名稱表,remotename是遠程計算機的名稱-A IPAddress顯示遠程計算機的NetBios名稱表,IPAddress是遠程計算機的IP地址-c 顯示netBios名稱緩存內(nèi)容-n 顯示本地計算機的netBois名稱表-r
25、顯示NetBois名稱解析統(tǒng)計資料-R 清除NetBois名稱緩存的內(nèi)容,重新加載帶有#pre標志的項目-s 顯示NetBois客戶和服務器會話,并試圖將目標IP地址轉(zhuǎn)化為名稱-S顯示NetBois客戶和服務器會話,只是通過IP地址列出遠程計算機Tracert命令Tracert跟蹤路由命令是用來跟蹤路由的實用程序它可以確定一個IP數(shù)據(jù)包到達目的主機所經(jīng)過的路由的信息通過向目標發(fā)送不同IP生存時間(TTL)字段和ICMP錯誤消息來確定從一個主機到網(wǎng)絡上其他主機的路由Tracert格式Tracert -d -h maximum_hops -j host_list -w timeout target
26、_name-d 指定不將地址解析為計算機名-h maximum_hops 指定搜索路由的最大個數(shù)-j host_list 指定沿host_list的稀疏源路由-w timeout 每次應答等待timeout指定的微表數(shù)target_name 目標計算機的名稱Pathping命令測試路由器的命令Pathping是一個路由檢查工具,他將ping和tracert命令的功能以及這兩個工具部提供的信息結(jié)合起來這個命令有助于判斷出導致網(wǎng)絡故障的路由器或鏈接使用格式:Pathping -g host_list -h maximum_hops -I address -n -p period -q num_queries -q num_queries -w timeout -P -R -T -4 -6 target_namePathpin
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預覽,若沒有圖紙預覽就沒有圖紙。
- 4. 未經(jīng)權益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負責。
- 6. 下載文件中如有侵權或不適當內(nèi)容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 2026年度黑龍江省農(nóng)業(yè)科學院公開招聘博士34人參考考試試題附答案解析
- 煙葉挑選生產(chǎn)管理制度
- 安全生產(chǎn)五個一清單制度
- 交通運輸局安全生產(chǎn)制度
- 專利生產(chǎn)設備制度
- 機油廠家生產(chǎn)制度范本
- 漁業(yè)生產(chǎn)作業(yè)制度
- 施工企業(yè)生產(chǎn)部管理制度
- 生產(chǎn)進度會議制度
- 2026四川自貢市鹽晟國有資本投資集團有限公司招聘財務部副部長、會計崗位考察對象備考考試試題附答案解析
- 安徽省亳州市2025屆高三上學期期末質(zhì)量檢測生物試卷(含答案)
- 2026年1月上海市春季高考數(shù)學試題卷(含答案及解析)
- 深度解析(2026)DZT 0064.45-1993地下水質(zhì)檢驗方法 甘露醇-堿滴定法 測定硼
- 3.2地區(qū)產(chǎn)業(yè)結(jié)構(gòu)變化高中地理人教版選擇性必修2
- 研究受試者知情同意書
- 2025年3D建模服務保密協(xié)議
- 戰(zhàn)場適應性訓練
- 各種挖機租賃合同范本
- 油料運輸應急預案
- 自來水維修搶修知識培訓課件
- 2025浙江紹興市新聞傳媒中心(傳媒集團)招聘6人筆試題庫歷年考點版附帶答案詳解
評論
0/150
提交評論