華為認(rèn)證:Displayinterface的顯示信息詳解
Display interface的顯示信息
本次工作希望統(tǒng)一Ethernet接口的信息,建議如下:
[1] GigabitEthernet3/0/1 current state : DOWN
[2] IP Sending Frames Format is PKTFMT_ETHNT_2, Hardware address is 00e0-fc00-0010
[3] The Maximum Transmit Unit is 1500
[4] Media type is not sure, loopback not set
[5] Port hardware type is No Connector
[6] Unknown-speed mode, unknown-duplex mode
[7] Link speed type is autonegotiation, link duplex type is autonegotiation
[8] Flow-control is not supported
[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
[15] Untagged VLAN ID : 504
[16] Last 5 minutes input rate 229 bytes/sec, 2 packets/sec
Last 5 minutes output rate 25 bytes/sec, 0 packets/sec
[17] Input(total): 34764 packets, 14212713 bytes
1021 broadcasts, 0 multicasts, 0 pauses
[18] Input(normal): 34764 packets, 14212713 bytes
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 aborts, 0 ignored, 0 parity errors
[20] Output(total): 1630514 packets, 525467915 bytes
774493 broadcasts, 822714 multicasts, 0 pauses
[21] Output(normal): 1630514 packets, 525467915 bytes
774493 broadcasts, 822714 multicasts, 0 pauses
[22] Output(error): 0 output errors, 0 underruns, 0 buffer failures, 0 aborts,
0 deferred, 0 collisions, 0 late collisions, 0 lost carrier, 0 no carrier
注意:統(tǒng)計項中不支持的項目填寫:-
即:如果產(chǎn)品對deferred,collisions, late collisions, lost carrier, no carrie不支持
顯示結(jié)果如下:
Output: 0 output errors, 0 underruns, 0 buffer failures, 0 aborts,
- deferred, - collisions, - late collisions, - lost carrier, - no carrier
[1] 接口狀態(tài) 顯示硬件鏈路的狀態(tài)
[2] 接口的輸出幀封裝類型和MAC地址 顯示接口的刪除幀封裝類型和MAC地址
[3] 接口的***傳輸單元 顯示接口的***傳輸單元
[4] 端口的連接線類型和環(huán)回狀態(tài) 顯示接口的連接線類型和環(huán)回狀態(tài)
[5] 端口的連接器硬件類型 顯示接口的連接器硬件類型
[6] 端口的實際速度和雙工狀態(tài) 顯示端口的實際速度和雙工狀態(tài)
[7] 端口是否是速度、雙工的自協(xié)商配置 顯示端口速度、雙工的自協(xié)商配置
[8] 端口流控狀態(tài) 顯示端口的MDI類型(不是缺省值的情況顯示)
[9] 端口可以正常轉(zhuǎn)發(fā)的幀長度 顯示端口可以正常轉(zhuǎn)發(fā)的幀長度
[10] 端口的廣播抑制比 顯示端口的廣播抑制比
[11] 端口是否允許jumbo幀通過 顯示端口是否允許jumbo幀通過
[12] 端口的PVID 顯示端口的PVID
[13] 端口的鏈路類型 顯示端口的鏈路類型(access,trunk,hybrid)
[14] 端口所屬的tag的VLAN的列表 顯示端口所屬的tag的VLAN的列表
[15] 端口所屬的untag的VLAN的列表 顯示端口所屬的untag的VLAN的列表
[16] 接口最近五分鐘輸出和輸入速率和報文數(shù) 實現(xiàn)最近五分鐘輸出和輸入速率和報文數(shù)
[17] 接口的物理層輸入總值統(tǒng)計 顯示物理層輸出的報文數(shù)/字節(jié)數(shù)/廣播和多播/PAUSE幀
總的統(tǒng)計值只包括正常、異常包和PAUSE幀
[18] 接口的物理層輸入中正常幀的統(tǒng)計 顯示物理層輸出的報文數(shù)/字節(jié)數(shù)/廣播和多播/PAUSE幀
正常幀的統(tǒng)計值包括正常數(shù)據(jù)幀和正常PAUSE幀
[19] 接口的物理層輸入錯誤統(tǒng)計 輸入錯誤數(shù),input errors等于各種重要錯誤信息的總和。不同的產(chǎn)品可以根據(jù)具體情況增加其它參數(shù),或減少不能實現(xiàn)的參數(shù)。
(1) Runts: discarded packets that are smaller than the mediums minimum packet size.
( Receive Byte Count < 64 and NOT CRC Error
or Receive Byte Count < 64 and Tag Packet and NOT CRC Error,
無論是否有vlan tag,數(shù)據(jù)段小于64字節(jié),而且沒有CRC校驗錯誤的幀。)
(2) Giants: discarded packets that are larger than the mediums maximum packet size.
( Receive Byte Count > 1518 and NOT CRC Error
or Receive Byte Count > 1522 and Tag Packet and NOT CRC Error,
沒有vlan tag,數(shù)據(jù)段大于1518字節(jié),小于***幀長度,而且沒有CRC校驗錯誤的幀,和有vlan tag,數(shù)據(jù)段大于1522字節(jié),小于***幀長度,而且沒有CRC校驗錯誤的幀。)
(3) Throttles: discarded packets that are incomplete frames.
( 交換機察覺緩存或CPU過載,關(guān)閉接口接收器的情形稱為 throttle,是cisco路由器上的一個概念,我們的交換機目前不具備這個功能,一般應(yīng)該顯示為不支持。)
(4) CRC: discarded packets with checksum error.
( Receive Packet CRC error,幀長度在正常范圍(不帶tag,長度在64到1518之間,或帶tag,長度在64到1522之間),而且CRC校驗錯,如果支持此項,則不支持奇偶校驗錯誤項。)
(5) Frame: discarded packets with frame pad/sequence/alignment error, out of frame etc.
( 不是整數(shù)字節(jié),而是多1~7bit,因此不對齊,或亂序或空幀,而且CRC校驗錯誤,但是不計入CRC錯誤。)
(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.
( 由于接口輸入速率超過接受方處理能力,導(dǎo)致丟包,由于我們的交換機一般是線速轉(zhuǎn)發(fā),這項一般應(yīng)該為0,只有部分交換機對上傳CPU或三層線速轉(zhuǎn)發(fā)的幀有接口帶寬限制,或是通過ACL實現(xiàn)的帶寬限制,因此被丟棄的幀,計入此項。)
(7) Aborts: Input abnormal frames that are discarded.
( 除其他錯誤之外,產(chǎn)品認(rèn)為有必要統(tǒng)計的錯誤,例如前導(dǎo)碼異常的幀,計入此項。)
(8) Ignored: packets that are discarded because the interface hardware does not have enough internal buffers.
( Packet ignored,由于接口內(nèi)部buffer滿,丟棄的幀,與由于主系統(tǒng)緩存空間缺乏,導(dǎo)致的丟棄幀不同。線速轉(zhuǎn)發(fā)的幀,在多接口滿帶寬輸入,單接口輸出等情況下,由于輸出接口的帶寬不足,數(shù)據(jù)幀將內(nèi)部緩存占滿,導(dǎo)致從接口輸入的幀在進入內(nèi)部緩存之前被丟棄,以及進入內(nèi)部緩存的幀超時無法輸出,計入此項,上傳到CPU的幀,由于CPU處理能力限制,toCPU的緩存滿,導(dǎo)致被丟棄,也計入此項。)
(9) Parity: Frames with parity error.
( Receive Packet parity error,如果支持此項,則不支持 CRC 錯誤項。)
[20] 接口的物理層輸出總值統(tǒng)計 顯示物理層輸入的報文數(shù)/字節(jié)數(shù)/廣播和多播/PAUSE幀
總的統(tǒng)計值只包括正常幀、異常幀和PAUSE幀。
Pauses: Flow control pauses including Xon and Xoff.
[21] 接口的物理層輸出正常幀統(tǒng)計 顯示物理層輸入的報文數(shù)/字節(jié)數(shù)/廣播和多播/PAUSE幀
總的統(tǒng)計值只包括正常數(shù)據(jù)幀和正常PAUSE幀。
[22] 接口的物理層輸出錯誤統(tǒng)計 輸入丟棄數(shù)/輸入錯誤數(shù),output errors等于各種重要錯誤信息的總和。不同的產(chǎn)品可以根據(jù)具體情況增加其它參數(shù),或減少不能實現(xiàn)的參數(shù)。
(1) Underruns: There are no data in the output queue.
( Transmit under run,與 Overrun相反,輸出接口的緩存從輸出隊列中取以太網(wǎng)幀時,沒有幀,是一種非常少見的硬件異常。有的交換機就沒有單獨的接口輸出緩存,與接口輸出隊列是同一塊緩存。)
(2) Buffer failures: Hardware does not have enough internal buffers.
( 內(nèi)部緩存滿,如果輸出隊列滿,輸出的以太網(wǎng)幀將在內(nèi)部緩存中暫時存儲,由于內(nèi)部緩存滿,導(dǎo)致幀丟棄。由于交換機對線速轉(zhuǎn)發(fā)的數(shù)據(jù)幀發(fā)生的這種異常,認(rèn)為只是到達(dá)內(nèi)部緩存而沒有到達(dá)出接口,是個輸入幀,因此計入 Input Ignored Error,只有從CPU發(fā)出的幀,由于內(nèi)部緩存滿,導(dǎo)致幀丟棄,計入此項。)
(3) Aborts: Output abnormal frames that are discarded.
( 在半雙工模式下,由于沖突檢測,延遲發(fā)送超過15次的幀,被丟棄,計入此項。除其他錯誤之外,產(chǎn)品認(rèn)為有必要統(tǒng)計的錯誤,例如添加前導(dǎo)碼異常的幀,也計入此項)
(4) Deferred: The packets could not be sent out for collision under half-duplex mode.
( 半雙工模式下,由于檢測到載波正在被聲明,當(dāng)時沒有發(fā)出的包,延時一次,計數(shù)加一。)
(5) Collisions: Statistic of collision detection under half-duplex mode.
( 半雙工模式下,在以太網(wǎng)幀數(shù)據(jù)部分的前64字節(jié)進入線路前,由于檢測到?jīng)_突,當(dāng)時沒有發(fā)出的包。)
(6) Late collisions: Statistic of collision with GE port sending packets less than 512 bytes and 10/100M port less than 64 bytes.
( 半雙工模式下,在以太網(wǎng)幀數(shù)據(jù)部分的前64字節(jié)進入線路后,由于檢測到?jīng)_突,當(dāng)時沒有發(fā)出的包。)
(7) Lost carrier: Statistic of losing the carrier.
( 載波丟失,一般適用于串行WAN接口,發(fā)送過程中,每丟失一個載波,此計數(shù)加一,對于交換機,通常是由于線路中斷造成。)
(8) No carrier: Statistic of no carrier.
( 無載波,一般適用于串行WAN接口,當(dāng)試圖發(fā)送幀時,如果沒有載波出現(xiàn) ,此計數(shù)加一,對于交換機,通常是由于線路中斷造成。)
【編輯推薦】