华为Display interface的显示信息详解


华为Display interface的显示信息详解
2012年01月17日
  Display interface的显示信息' s/ `$ K$ d+ R0 t( A8 K
  本次工作希望统一Ethernet接口的信息,建议如下:4 i8 [- W, Y( }3 d" [; V/ J) U
  [1] GigabitEthernet3/0/1 current state : DOWN
  [2] IP Sending Frames Format is PKTFMT_ETHNT_2, Hardware address is 00e0-fc00-0010& f" b& O& V5 _# F& T" X* O& S
  [3] The Maximum Tra nsmit Unit is 1500
  [4] Media type is not sure, loopback not set* I; N% u0 g; J" V* [$ E
  [5] Port hardware type is No Connector  {, g! y# N% A. R- z' m' z
  [6] Unknown-speed mode, unknown-duplex mode 
  [7] Link speed type is autonegotiation, link duplex type is autonegotiation$ O/ M' P. }5 s. i8 k; l$ a
  [8] Flow-control is not supported : l! W1 W! \- ?, X* n
  [9] The Maximum Frame Length is 1536 
  [10] Broadcast MAX-ratio: 100%
  [11] Allow jumbo frame to pass 
  [12] PVID: 1
  [13] Port link-type: access 
  [14] Tagged VLAN ID : none . }+ a  }9 i5 W
  [15] Untagged VLAN ID : 504 
  [16] Last 5 minutes input rate 229 bytes/sec, 2 packets/sec 8 M4 w! R3 q# d& V& }& B0 f! ?
  Last 5 minutes output rate 25 bytes/sec, 0 packets/sec $ r; E% _  K+ t2 j
  [17] Input(total): 34764 packets, 14212713 bytes 
  1021 broadcasts, 0 multicasts, 0 pauses, A" ^; y, c# u% m
  [18] Input(normal): 34764 packets, 14212713 bytes ' v% g2 t0 N6 q" _
  1021 broadcasts, 0 multicasts, 0 pauses 
  [19] Input(error): 0 input errors, 0 runts, 0 giants, 0 throttles, 0 CRC, 0 frame, 0 overruns, 0 n. `, a% r: V0 [, ~% X9 W- I4 A: n
  0 aborts, 0 ignored, 0 parity errors
  [20] Output(total): 1630514 packets, 525467915 bytes . {% I. z, S& Q' W& s  m3 l
  774493 broadcasts, 822714 multicasts, 0 pauses : {9 ?; f5 o. x/ X4 j
  [21] Output(normal): 1630514 packets, 525467915 bytes 6 a4 R1 I7 E" M% C' g
  774493 broadcasts, 822714 multicasts, 0 pauses 
  [22] Output(error): 0 output errors, 0 underruns, 0 buffer failures, 0 aborts,1 M) N. w! z( {- E' Z& l7 w
  0 deferred, 0 collisions, 0 late collisions, 0 lost carrier, 0 no carrier
  注意:统计项中不支持的项目填写:-  |2 d" Q) p9 f
  即:如果产品对deferred,collisions, late collisions, lost carrier, no carrie不支持- l% \& {& n- T8 @; a
  显示结果如下:/ U, q& r( s3 G4 C& t! R* Q
  Output: 0 output errors, 0 underruns, 0 buffer failures, 0 aborts,
  - deferred, - collisions, - late collisions, - lost carrier, - no carrier& o- B. k$ t  B2 M1 r
  [1] 接口状态 显示硬件链路的状态. y0 Z! y' a: Q# f2 C  L/ E
  [2] 接口的输出帧封装类型和MAC地址 显示接口的删除帧封装类型和MAC地址
  [3] 接口的最大传输单元 显示接口的最大传输单元
  [4] 端口的连接线类型和环回状态 显示接口的连接线类型和环回状态
  [5] 端口的连接器硬件类型 显示接口的连接器硬件类型
  [6] 端口的实际速度和双工状态 显示端口的实际速度和双工状态
  [7] 端口是否是速度、双工的自协商配置 显示端口速度、双工的自协商配置9 n7 l  t' t+ W- P' H& \
  [8] 端口流控状态 显示端口的MDI类型(不是缺省值的情况显示)
  [9] 端口可以正常转发的帧长度 显示端口可以正常转发的帧长度
  [10] 端口的广播抑制比 显示端口的广播抑制比 # y+ i9 H4 e# e  a; M2 M
  [11] 端口是否允许jumbo帧通过 显示端口是否允许jumbo帧通过
  [12] 端口的PVID 显示端口的PVID
  [13] 端口的链路类型 显示端口的链路类型(access,trunk,hybrid)$ \. V- W8 t5 j7 E2 h& G
  [14] 端口所属的tag的VLAN的列表 显示端口所属的tag的VLAN的列表
  [15] 端口所属的untag的VLAN的列表 显示端口所属的untag的VLAN的列表
  [16] 接口最近五分钟输出和输入速率和报文数 实现最近五分钟输出和输入速率和报文数
  [17] 接口的物理层输入总值统计 显示物理层输出的报文数/字节数/广播和多播/PAUSE帧 
  总的统计值只包括正常、异常包和PAUSE帧
  [18] 接口的物理层输入中正常帧的统计 显示物理层输出的报文数/字节数/广播和多播/PAUSE帧 
  正常帧的统计值包括正常数据帧和正常PAUSE帧/ }4 U# e6 L8 o3 ~4 h2 n- t+ h' J
  [19] 接口的物理层输入错误统计 输入错误数,input errors等于各种重要错误信息的总和。不同的产品可以根据具体情况增加其它参数,或减少不能实现的参数。6 z4 I& r# g. A. \; V* F; `' @
  (1) Runts: discarded packets that are smaller than the mediums minimum packet size.. e# {+ o$ s  Z4 r! R2 y2 I
  ( Receive Byte Count Error 
  or Receive Byte Count Error,
  无论是否有vlan tag,数据段小于64字节,而且没有CRC校验错误的帧。)3 B, X1 U  }/ J# M6 U
  (2) Giants: discarded packets that are larger than the mediums maximum packet size.3 t8 P4 }% l( h$ I6 t
  ( Receive Byte Count > 1518 and NOT CRC Error 
  or Receive Byte Count > 1522 and Tag Packet and NOT CRC Error, 
  没有vlan tag,数据段大于1518字节,小于最大帧长度,而且没有CRC校验错误的帧,和有vlan tag,数据段大于1522字节,小于最大帧长度,而且没有CRC校验错误的帧。)
  (3) Throttles: discarded packets that are incomplete frames.( A6 h+ m& v! m% p, ]& s; i
  ( 交换机察觉缓存或CPU过载,关闭接口接收器的情形称为 throttle,是cisco路由器上的一个概念,我们的交换机目前不具备这个功能,一般应该显示为不支持。)
  (4) CRC: discarded packets with checksum error.9 P  a% R; M& S6 m, V0 ]: ?' A6 G
  ( Receive Packet CRC error,帧长度在正常范围(不带tag,长度在64到1518之间,或带tag,长度在64到1522之间),而且CRC校验错,如果支持此项,则不支持奇偶校验错误项。)& W0 x+ k$ g; d4 ?
  (5) Frame: discarded packets with frame pad/sequence/alignment error, out of frame etc. 2 c$ m4 ]4 X) V8 ?( O' m) J& q! O) e
  ( 不是整数字节,而是多1~7bit,因此不对齐,或乱序或空帧,而且CRC校验错误,但是不计入CRC错误。). V9 y) s, ?0 Z7 u! n$ E7 T
  (6) Overrun: the receiver hardware is unable to hand received data to a hardware buffer because the input rate exceeds the receivers ability to handle the data. 
  ( 由于接口输入速率超过接受方处理能力,导致丢包,由于我们的交换机一般是线速转发,这项一般应该为0,只有部分交换机对上传CPU或三层线速转发的帧有接口带宽限制,或是通过ACL实现的带宽限制,因此被丢弃的帧,计入此项。)! Y# z5 @$ n' `* ~. D7 k4 L
  (7) Aborts: Input abnormal frames that are discarded. 3 H- f" Y6 i5 s6 A
  ( 除其他错误之外,产品认为有必要统计的错误,例如前导码异常的帧,计入此项。)
  (8) Ignored: packets that are discarded because the interface hardware does not have enough internal buffers.
  ( Packet ignored,由于接口内部buffer满,丢弃的帧,与由于主系统缓存空间缺乏,导致的丢弃帧不同。线速转发的帧,在多接口满带宽输入,单接口输出等 情况下,由于输出接口的带宽不足,数据帧将内部缓存占满,导致从接口输入的帧在进入内部缓存之前被丢弃,以及进入内部缓存的帧超时无法输出,计入此项,上 传到CPU的帧,由于CPU处理能力限制,toCPU的缓存满,导致被丢弃,也计入此项。)
  (9) Parity: Frames with parity error." Q' o% ?6 _3 `
  ( Receive Packet parity error,如果支持此项,则不支持 CRC 错误项。)
  [20] 接口的物理层输出总值统计 显示物理层输入的报文数/字节数/广播和多播/PAUSE帧 
  总的统计值只包括正常帧、异常帧和PAUSE帧。
  Pauses: Flow control pauses including Xon and Xoff.4 }* l; {$ Z, Y3 _$ o$ W
  [21] 接口的物理层输出正常帧统计 显示物理层输入的报文数/字节数/广播和多播/PAUSE帧4 Q7 E7 |4 N$ t% c, g
  总的统计值只包括正常数据帧和正常PAUSE帧。3 ]" ]% X  ^1 q5 q* f* Y( V* P
  [22] 接口的物理层输出错误统计 输入丢弃数/输入错误数,output errors等于各种重要错误信息的总和。不同的产品可以根据具体情况增加其它参数,或减少不能实现的参数。" C$ p/ x( P* ^. o! X6 {+ `/ d
  (1) Underruns: There are no data in the output queue.3 {0 t# M4 }2 \$ _5 q8 o! G
  ( Transmit under run,与 Overrun相反,输出接口的缓存从输出队列中取以太网帧时,没有帧,是一种非常少见的硬件异常。有的交换机就没有单独的接口输出缓存,与接口输出队列是同一块缓存。)
  (2) Buffer failures: Hardware does not have enough internal buffers. 
  ( 内部缓存满,如果输出队列满,输出的以太网帧将在内部缓存中暂时存储,由于内部缓存满,导致帧丢弃。由于交换机对线速转发的数据帧发生的这种异常,认为只 是到达内部缓存而没有到达出接口,是个输入帧,因此计入 Input Ignored Error,只有从CPU发出的帧,由于内部缓存满,导致帧丢弃,计入此项。)
  (3) Aborts: Output abnormal frames that are discarded.
  ( 在半双工模式下,由于冲突检测,延迟发送超过15次的帧,被丢弃,计入此项。除其他错误之外,产品认为有必要统计的错误,例如添加前导码异常的帧,也计入此项)
  (4) Deferred: The packets could not be sent out for collision under half-duplex mode.
  ( 半双工模式下,由于检测到载波正在被声明,当时没有发出的包,延时一次,计数加一。)
  (5) Collisions: Statistic of collision detection under half-duplex mode.: X% b# E& Q8 s
  ( 半双工模式下,在以太网帧数据部分的前64字节进入线路前,由于检测到冲突,当时没有发出的包。)
  (6) Late collisions: Statistic of collision with GE port sending packets less than 512 bytes and 10/100M port less than 64 bytes.
  ( 半双工模式下,在以太网帧数据部分的前64字节进入线路后,由于检测到冲突,当时没有发出的包。)
  (7) Lost carrier: Statistic of losing the carrier. 
  ( 载波丢失,一般适用于串行WAN接口,发送过程中,每丢失一个载波,此计数加一,对于交换机,通常是由于线路中断造成。) 
  (8) No carrier: Statistic of no carrier.
  ( 无载波,一般适用于串行WAN接口,当试图发送帧时,如果没有载波出现 ,此计数加一,对于交换机,通常是由于线路中断造成。)
  
  
  

猜你喜欢

转载自ftn119bp.iteye.com/blog/1359425