Show interfaces 的详解

        这是一个 typical 的输出 for a Show interfaces command 大家都很熟悉
  
  下面是对它的详细的说明 :
  
  Router>show int e0
  1 Ethernet0 is administratively down, line protocol is down
  2 Hardware is Lance, address is 000C.9952.8180 (bia 000C.9952.8180)
  3 Internet address 10.1.1.101/24
  4 MTU 1500 bytes, BW 10000 Kbit, DLY 1000 usec, rely 255/255, load 1/255
  5 Encapsulation ARPA, loopback not set, keepalive set (10 sec)
  6 ARP type: ARPA, ARP Timeout 04:00:00
  7 Last input 00:00:00, output 00:00:00, output hang never
  8 Last clearing of show interface counters never
  9 Queueing strategy: fifo
  10 Output queue 0/40, 0 drops; input queue 0/75, 0 drops
  11 5 minute input rate 1000 bits/sec, 2 packets/sec
  12 5 minute output rate 1000 bits/sec, 2 packets/sec
  13 237272 packets input, 26758701 bytes, 0 no buffer
  14 Received 221125 broadcasts, 0 runts, 0 giants, 0 throttles
  15 1 input errors, 0 CRC, 0 frame, 0 overrun, 1 ignored, 0 abort
  16 0 input packets with dribble condition detected
  17 254166 packets output, 33263412 bytes, 0 underruns
  18 2 output errors, 0 collisions, 5 interface resets
  19 0 babbles, 0 late collision, 5 deferred
  20 2 lost carrier, 0 no carrier
  21 0 output buffer failures, 0 output buffers swapped out
  
  
  Let's look at some of its more important fields.
  
  1 The first line 表示 E0 的状态可能 有三种
     up (active)
     down (inactive) If the interface misses 连续的3个 keepalives , the system 认为 it to
         be unusable and marks it as "down".
    administratively down (inactive because ad shut it down use the
    Shutdown command)
  2 The second line MAC address。
  3 logical protocol address
  4 MTU 是interface的 最大的 transmission unit size。 BW 是 带宽 单位是 kilobits per
  second.这个parameter 只用来算 routing metrics for specific routing protocols
  DLY 是 interface 的 delay 是以 微秒为单位的
  rely 是 可靠性 255/255 就是相当于 100% load 是 负载 也是 255/255 是 100%
  rely 和 load 都是 5 minute 的 平均值.
  5 封装类型 和 loopback ,keepalive 为 10 sec
  7 Last input 给了时间 since a packet has been 成功的 received on the interface.
  last output gives the time elapsed since a packet has been successfully
  transmitted on the interface.
  output hang shows the time elapse 自从上次自动的 reset. 这里是 never
  8 Last clearing 表示 the time at which the counters used to
  measure the cumulative statistics shown in the display were last reset to zero.
  如果它 displayed, "***" 就是时间太长无法显示.
  9 first in first out
  10 表示 number of packets in the output或是input的 queues for the interface.
  斜线后是 the maximum size of the queue. drop掉的数字就是因为queue full 引起的.
  11 和 12行 表示最后 5 分钟 内的 bit 数和 packet数是平均值 不是精确值 是大概的
  13 行是 所有经过这个端口 而没有错误的packet 是input的. 最后的 0 no buffer 是指收到的正确的packet
  没有因为 buffer 不够而丢掉.
  14 行是 收到的 多播或是广播包. runts 一般是指引起collisions 的 packet 一般越是小的packet就越引起
  collisions ruts 就是指的这种包. 如果这个数 大于 百万分之一(byte的单位可以自己算) 就不正常.
  gaints 是指大于 1518 byte的packet 一般大于1518 的就直接 discard 了
  15 行的1 input error info 表示了 这个接口上 所有的 input error这个东西包括了13行的 no buffer
  14行的 runts 和 gaints 15 行的CRC frame和 overrun ,ignore . CRC 指的是 packet. frame指的是
  frame 的 CRC 错. 如果 CRC 的数过大 一般是由 冲突过多或是 以太网的设备 故障比如interface.
  overrun 指 的是 receiver hardware was unable to pass received data 一般多是对于 硬件的buffer
  overrun就是表明 input的rate 大于 interface的 接受的 rate了
  ignored 是指 被buffer 忽略的packet 多是 由 noise 或是 广播风暴 引起的.
  16 行 a dribble 指示了 长frame 里的 bit error .这个frame 被标记错误可是 接受了没有 丢掉.
  17 行成功的传送的 packet 和 byte 数 是平均数 underruns 是指 传输过快 而不受 router 控制的次数
  18 行 output error 指发生错误被借口丢掉没有传的packet .
  collisions是指因为 冲突 需要重传的frame. 这个数过大是因为 LAN is over extended.
  intreface reset 是 interface 被完全 自动的 reset 的次数 . 这个一般是 因为 moden 或是 电缆
  引起的 不过 如果 interface 是 shutdown 或是 loopback了
  
  对于 show int serial 0
  
  如果 serial 0 is up ,line protocol is up 表示 physical 正常 同时也表示 载波信号已经收到.
  其实 line protocol 是 datalink 层的 , 同时 它 up 也是指 keepalives 收到. 如果两端的 封装定义的不
  一致或是没有 clock rate 都是 line protocol down . 当然如果是 back to back 的连接serial 0 is down
  也可能是 对端端口被 ad 手工的 down了 不一定就是 自己的硬件问题. 
 

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

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值