《网络系统管理常用命令》由会员分享,可在线阅读,更多相关《网络系统管理常用命令(53页珍藏版)》请在金锄头文库上搜索。
1、2019年8月19日星期一4时26分1秒,网络系统管理常用命令,2019年8月19日星期一4时26分1秒,主要内容,网络管理的基本命令 ping命令 ipconfig/winipcfg命令 Netstat命令 Nbtstat命令 Tracert命令 Pathping命令 Arp命令 route,2019年8月19日星期一4时26分1秒,ping命令,Ping源于潜水艇上的声纳回音的拟声词 在网络中ping命令是一个测试网络畅通的基本命令 Ping命令可以测试网络连通和速度 Ping命令应用于TCP/IP协议的网络(包括局域网和广域网),2019年8月19日星期一4时26分1秒,Ping命令的格
2、式,Ping -t -a -n count -l size -f -i TTL -v TOS -r count -s count -j host-list|-k host-list -w timeout ,2019年8月19日星期一4时26分1秒,参数说明,-t 不间断地ping指定的计算机 -a 将ip解析为计算机名 -n count 发送count个数据包给目的主机 -l size 发送大小为size的数据包给目的主机 -f 发送不分段标志 -i TTL 指定在对方系统中停留的时间,2019年8月19日星期一4时26分1秒,-v TOS设定服务类型“TOS” -r count 在记录路由字
3、段中记录传出和返回数据包的路由器,用来跟踪路由 -s count 类似-r参数,但是只能记录4个路由 -w timeout 设置等待应答的时间(以毫秒)为单位,2019年8月19日星期一4时26分1秒,ipconfig/winipcfg命令,ipconfig/winipcfg命令可以用来查看和修改网络中与TCP/IP协议有关的配置。 Ipconfig命令能查看相关配置,在控制台中才可以使用命令 Winipcfg命令可以查看和修改相关配置,这个是一个windows图形界面的命令,2019年8月19日星期一4时26分1秒,Ipconfig命令,格式: ipconfig /? | /all | /r
4、enew adapter / release adapter | /flushdns | /displaydns | /registerdns | /showclassid adapter | /setclassid adapter classid,2019年8月19日星期一4时26分1秒,参数说明,/?:帮助信息 USAGE: ipconfig /? | /all | /renew adapter | /release adapter | /flushdns | /displaydns | /registerdns | /showclassid adapter | /setclassid a
5、dapter classid where adapter Connection name (wildcard characters * and ? allowed, see examples) Options: /? Display this help message /all Display full configuration information. /release Release the IP address for the specified adapter. /renew Renew the IP address for the specified adapter. /flush
6、dns 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. /setclassid Modifies the dhcp class id.,2019年8月19日星期一4时26分1秒,The default
7、is to display only the IP address, subnet mask and default gateway for each adapter bound to TCP/IP. For Release and Renew, if no adapter name is specified, then the IP address leases for all adapters bound to TCP/IP will be released or renewed. For Setclassid, if no ClassId is specified, then the C
8、lassId is removed. Examples: 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 matching connections, eg. “Local Area Connectio
9、n 1“ or “Local Area Connection 2“,2019年8月19日星期一4时26分1秒,/all :显示所有的IP地址的配置信息 Windows IP Configuration Host Name . . . . . . . . . . . . : USER-47689A531F Primary Dns Suffix . . . . . . . : Node Type . . . . . . . . . . . . : Unknown IP Routing Enabled. . . . . . . . : No WINS Proxy Enabled. . . . . .
10、 . . : No Ethernet 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 IP Address. . . .
11、 . . . . . . . . : 10.33.34.57 Subnet Mask . . . . . . . . . . . : 255.255.255.0 Default Gateway . . . . . . . . . : 10.33.34.254 DHCP Server . . . . . . . . . . . : 172.16.0.68 DNS Servers . . . . . . . . . . . : 210.21.4.130 210.21.4.131,2019年8月19日星期一4时26分1秒,Lease Obtained. . . . . . . . . . : 200
12、6年10月8日 14:41:13 Lease Expires . . . . . . . . . . : 2006年10月9日 2:41:13 Ethernet adapter 25B4C18C-FA72-4962-8D16-FBC673F376F6: Media State . . . . . . . . . . . : Media disconnected Description . . . . . . . . . . . : VCD VNC Adapter - 数据包计划程序微型端口 Physical Address. . . . . . . . . : 06-00-07-D2-05-0
13、0,2019年8月19日星期一4时26分1秒,Ipconfig显示,2019年8月19日星期一4时26分1秒,2019年8月19日星期一4时26分1秒,2019年8月19日星期一4时26分1秒,/renew adapter :刷新配置 Windows IP Configuration No operation can be performed on while it has its media disconnected. Ethernet adapter 本地连接: Connection-specific DNS Suffix . : IP Address. . . . . . . . . .
14、 . . : 10.33.34.57 Subnet Mask . . . . . . . . . . . : 255.255.255.0 Default Gateway . . . . . . . . . : 10.33.34.254 Ethernet adapter 25B4C18C-FA72-4962-8D16-FBC673F376F6: Media State . . . . . . . . . . . : Media disconnected,2019年8月19日星期一4时26分1秒,/release adapter :释放指定的网络配置卡IP地址 Windows IP Configu
15、ration No operation can be performed on while it has its media disconnected. Ethernet adapter 本地连接: Connection-specific DNS Suffix . : IP Address. . . . . . . . . . . . : 0.0.0.0 Subnet Mask . . . . . . . . . . . : 0.0.0.0 Default Gateway . . . . . . . . . : Ethernet adapter 25B4C18C-FA72-4962-8D16-
16、FBC673F376F6: Media State . . . . . . . . . . . : Media disconnected,2019年8月19日星期一4时26分1秒,/flushdns :刷新客户机解析程序的缓存 /displaydns :显示和查看客户机解析程序的缓存 Windows IP Configuration 1.0.0.127.in-addr.arpa - Record Name . . . . . : 1.0.0.127.in-addr.arpa. Record Type . . . . . : 12 Time To Live . . . . : 599630 Data Length . . . . . : 4 Section . . . . . . . : Answer P