• 教学
  • 下载
  • 作文
  • 知识
  • 课件
  • 教案
当前位置:问学网常识网电脑知识电脑技巧入门网络命令介绍» 正文

入门网络命令介绍

[10-18 20:51:35]   来源:http://www.wenxue9.com  电脑技巧   阅读:8242

概要:www.wenxue9.com 基础网络命令--给网络新手 [例子] Ⅰ Ping C:> Ping 61.136.253.204 [向61.136.253.204发送数据包]

入门网络命令介绍,标签:电脑技巧,电脑基础教程,http://www.wenxue9.com
www.wenxue9.com
基础网络命令--给网络新手 [例子] 

Ⅰ Ping 
C:> Ping 61.136.253.204 [向61.136.253.204发送数据包] 
Pinging 61.136.253.204 With 32 bytes of data: [正在发送 32 字节的包到 :61.136.253.204] 

Request timed out. [丢包 原因:超时] 
Reply from 61.136.253.204: bytes=32 time=62ms TTL=120 [正确抵达|大小32字节|消耗时间 62ms ] 
Reply from 61.136.253.204: bytes=32 time=69ms TTL=120 
Reply from 61.136.253.204: bytes=32 time=59ms TTL=120 

Ping statistics for 61.136.253.204 [资料统计] 
Packets: Sent = 4, Received = 3, Lost = 1 <25% loss>, [发送了4个数据包,收到了3个,丢失1个占25% ] 
Approximate round trip times in milli-seconds: 
Minimum = 59ms, Maximum = 69ms, Average = 63ms [最快抵达 59ms 最慢 69 ms 平均时间 63ms] 

现在我们来加入命令参数: 
C:> Ping -a 61.136.253.204 -l 1 -t [-a 代表同时获取主机名 -l 1 指定 包大小为 1bytes -t 直到用户手动终止] 
Pinging XINGXING [61.136.253.204] With 1 bytes of data: 

Reply from 61.136.253.204: bytes=1 time=49ms TTL=120 [因为只发送1字节的包,所以时间缩短了] 
Reply from 61.136.253.204: bytes=1 time=59ms TTL=120 
Reply from 61.136.253.204: bytes=1 time=54ms TTL=120 
Reply from 61.136.253.204: bytes=1 time=55ms TTL=120 
Reply from 61.136.253.204: bytes=1 time=50ms TTL=120 
Reply from 61.136.253.204: bytes=1 time=49ms TTL=120 
Reply from 61.136.253.204: bytes=1 time=49ms TTL=120 

Ping statistics for 61.136.253.204 
Packets: Sent = 7, Received = 7, Lost = 0 <0% loss>, [发送了7个数据包,收到了7个,丢失0个占0% ] 
Approximate round trip times in milli-seconds: 
Minimum = 49ms, Maximum = 59ms, Average = 52ms [最快抵达 59ms 最慢 69 ms 平均时间 63ms] 
Control-C [按 Ctrl + C 强行终止] 
^C 
C:> 


—————————————————————————————————————————— 
—————————————————————————————————————————— 
—————————————————————————————————————————— 


Ⅱ Netstat [这是一个观察网络连接状态的实用工具] 
C:> Netstat -a [显示协议与当前网络连接] 

Active Connections [活动的连接] 

[端口类型] [本地的] [外部连接] [状态] 
Proto Local Address Foreign Address State 
TCP freefwq:telnet freefwq:0 LISTENING [端口类型 TCP 端口 Telnet 监听状态] 
TCP freefwq:epmap freefwq:0 LISTENING 
TCP freefwq:microsoft-ds freefwq:0 LISTENING 
TCP freefwq:1026 freefwq:0 LISTENING [端口类型 TCP 端口 1027 **** ] 
TCP freefwq:1027 freefwq:0 LISTENING 
TCP freefwq:5277 freefwq:0 LISTENING 
UDP freefwq:microsoft-ds *:* 
UDP freefwq:3001 *:* 
UDP freefwq:3005 *:* [端口类型 UDP 端口 3005] 
UDP freefwq:4000 *:* 
UDP freefwq:5419 *:* 



C:> Netstat -n -a [扩展命令参数] 

Active Connections [活动的连接] 

TCP 192.168.0.1:139 0.0.0.0:0 LISTENING 

[1] [2] [3] [4]  下一页


Tag:电脑技巧电脑技巧,电脑基础教程电脑知识 - 电脑技巧


上一篇:域名解析A记录MX记录CNAME记录TTL
《入门网络命令介绍》相关文章
[已有条评论] 我来点评
验证码: 昵称: