ping pathping tracert 应用

183 篇文章 0 订阅

Icmp redirect 重定向信息用于支持路由功能。选择更优的路径。

TTL:如果网络中存在环路,则ip报文可能在网络中循环而无法到达目的地。TTL字段限定了ip报文的生存时间,保证无法到达目的地的报文最终被丢弃。(防止环路,也可以检测环路)

tracert :可以帮助管理员发现环路

华为交换机:

<SW>ping ?            
  -a             Select source IP address, the default is the IP address of the
                 output interface
  -c             Specify the number of echo requests to be sent, the default is
                 5
  -d             Specify the SO_DEBUG option on the socket being used
  -f             Set Don't Fragment flag in packet (IPv4-only)
  -h             Specify TTL value for echo requests to be sent, the default is
                 255
  -i             Select the interface sending packets

<SW>tracert ?
  -a             Set source IP address, the default is the IP address of the
                 output interface
  -f             First time to live, the default is 1
  -m             Max time to live, the default is 30
  -name          Display the host name of the router on each hop
  -p             Destination UDP port number, the default is 33434
  -q             Number of probe packet, the default is 3

pathping  --help  (一般用于windowns)

选项:
   -g host-list                  与主机列表一起的
   -h maximum_hops  搜索目标的最大跃
   -i address                 使用指定的源地址
   -n                               不将地址解析成主
   -p period                   两次 Ping 之间等
   -q num_queries      每个跃点的查询数
   -w timeout               每次回复等待的超
   -4                              强制使用 IPv4。
   -6                              强制使用 IPv6。

tracepath --help   (一般用于linux)
tracepath: invalid option -- '-'
Usage: tracepath [-n] [-b] [-l <len>] [-p port] <destination>

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值