文本版|topic 高级搜索
   名人堂 帮助 论坛制度 意见反馈 | 首页 博客 周新贴 专题 求职 读书
RSS 底部
 
社区导航: 专家门诊   网络技术   操作系统   数据库   程序设计   系统应用   考试认证   CIO及信息化   站长交流   综合交流   下载基地  51CTO产品服务 设为首页 | 收藏本站
51CTO技术论坛» 华为技术 » 华为交换机如何使用扩展PING,指定源IP       [ 打印]  [ 订阅]  [ 收藏]  [ 推荐给朋友]   [ 本帖文本页]

论坛跳转:
     
标题: 华为交换机如何使用扩展PING,指定源IP  ( 查看:572  回复:3 )   
 该主题悬赏的20无忧币已被全部领完 
 
yangred76
技术员  点击可查看详细



帖子 337
精华 0
无忧币 7
积分 332
阅读权限 30
注册日期 2006-7-31
最后登录 2008-9-5 离线

[查看资料]  [发短消息]  [Blog
       
发表于:2007-9-27 22:21   标题:华为交换机如何使用扩展PING,指定源IP
上一帖 |
华为交换机如何使用扩展PING,指定源IP



网络虽虚拟,技术无边界,来看看大家“真面目”!
2007-9-27 22:211楼
[ 顶部 ]
 
小侠唐在飞
荣誉会员  点击可查看详细


诚信兄弟  
帖子 1593
精华 2
无忧币 2517
积分 1864
阅读权限 140
来自 (保密)
注册日期 2006-6-15
最后登录 2008-9-5 离线

[查看资料]  [发短消息]  [Blog
[个人主页]    QQ       
发表于:2007-9-28 10:02  该回复被 yangred76 奖励 20 点无忧币
此回复于2007-09-28 15:15被 intelboy 评为最佳答案

[IDC_HW-NE20-4]ping ?
  -a             Select source IP address
  -c             Specify the number of echo requests to be sent
  -d             Specify the SO_DEBUG option on the socket being used
  -h             Specify TTL value for echo requests to be sent
  -i             Select the interface sending packets
  -n             Numeric output only. No attempt will be made to lookup host
                 addresses for symbolic names  
  -p             No more than 8 "pad" hexadecimal characters to fill out the
                 sent packet. For example, -p f2 will fill the sent packet
                 with f and 2 repeatedly
  -q             Quiet output. Nothing is displayed except the summary lines at
                 startup time and when finished
  -r             Record route. Includes the RECORD_ROUTE option in the
                 ECHO_REQUEST packet and displays the route
  -s             Specifies the number of data bytes to be sent  
  -t             Timeout in milliseconds to wait for each reply
  -tos           Specify TOS value for echo requests to be sent
  -v             Verbose output. ICMP packets other than ECHO_RESPONSE those
                 are received are listed
  -vpn-instance  Specify VPN-Instance of MPLS VPN
  STRING<1-20>   IP address or hostname of a remote system
  ip             IP Protocol



[IDC_HW-NE20-4]ping ?
  -a             指定PING命令的源地址
  -c             设置发送ICMP ECHO_REQUEST报文的数目
  -d             打开所使用套接口上的 SO_DEBUG 选项
  -h             指定发送回显请求报文的TTL值
  -i             指定PING命令的发送接口
  -n             不对目的主机作域名解析
  -p             设置对于发送的ECHO_REQUEST
                 报文的填充字节,长度不超过8个16进制字符, 例如, -p f2
                 将报文全部填充为 f2
  -q             除统计数字外,不显示其他的详细信息
  -r             记录路由. 包括在ECHO_REQUEST包中的RECORD_ROUTE设置,
                 并且显示返回包中的路由缓冲区
  -s             设置 ECHO_REQUEST 报文的长度
  -t             设置等待 ECHO_REQUEST 报文响应的超时时间
  -tos           指定发送回显请求报文的TOS值
  -v             显示接收到的非 ECHO_RESPONSE ICMP 报文,缺省是不显示
  -vpn-instance  指定VPN实例的名称
  STRING   远程系统的IP地址或主机名
  ip             IP协议



【欢迎访问小侠唐在飞技术博客http://xiaoxia.blog.51cto.com】
2007-9-28 10:022楼
[ 顶部 ]
 
intelboy
主版主  点击可查看详细


诚信兄弟   行业勋章   技术勋章   十二生肖之鸡   狮子座   中秋活动勋章  
帖子 3148
精华 3
无忧币 14845
积分 12609
阅读权限 150
来自 (保密)
注册日期 2006-6-12
最后登录 2008-6-18 离线

[查看资料]  [发短消息]  [Blog
[个人主页]    QQ       
发表于:2007-9-28 10:02 
Cisco的可以
华为的没用过



To be or not to be.This is the question!
2007-9-28 10:023楼
[ 顶部 ]
 
小侠唐在飞
荣誉会员  点击可查看详细


诚信兄弟  
帖子 1593
精华 2
无忧币 2517
积分 1864
阅读权限 140
来自 (保密)
注册日期 2006-6-15
最后登录 2008-9-5 离线

[查看资料]  [发短消息]  [Blog
[个人主页]    QQ       
发表于:2007-9-28 12:09 
在Quidway系列路由器上, ping命令的格式如下:
ping [-Rdnqrv] [-c count] [-p pattern] [-s packetsize] [-t timeout] host
-a  ping报文中使用的源IP地址
-c  ping报文的个数,缺省值为5;
-t   设置ping报文的超时时间,单位为毫秒,缺省值为2000;
-s  设置ping报文的大小,以字节为单位,缺省值为56。



【欢迎访问小侠唐在飞技术博客http://xiaoxia.blog.51cto.com】
2007-9-28 12:094楼
[ 顶部 ]
     
论坛跳转:  

| | |

| | |

| | |

标记已读 · 删除论坛Cookies · 文本版 · WAP
 
| 诚征版主 | 版主堂 | 意见建议 | 大史记 | 论坛地图
Copyright©2005-2008 51CTO.COM  Powered by Discuz!
本论坛言论纯属发布者个人意见,不代表51CTO网站立场!如有疑义,请与管理员联系。
京ICP备05051492号