簡介
本檔案將說明如何對show interface指令輸出中的捨棄計數器進行疑難排解。
必要條件
需求
本文件沒有特定需求。
採用元件
本文件所述內容不限於特定軟體和硬體版本。
本文中的資訊是根據特定實驗室環境內的裝置所建立。文中使用到的所有裝置皆從已清除(預設)的組態來啟動。如果您的網路運作中,請確保您瞭解任何指令可能造成的影響。
慣例
如需文件慣例的詳細資訊,請參閱思科技術提示慣例。
Q.我看到了packets dropped計數器在 show interface
命令輸出增加。如何解決導致此計數器遞增的原因?
A. The packets dropped counter in the show interface
自適應安全裝置(ASA)的命令輸出表示介面上所有丟棄的資料包。此計數器包括所有與安全相關的資料包丟棄。預期該計數器在生產ASA上總是遞增。同樣,資料包丟棄計數器正常且預計會定期增加。
ciscoasa(config)# show interface ethernet 0/0
Interface Ethernet0/0 "outside", is up, line protocol is up
Hardware is i82546GB rev03, BW 100 Mbps, DLY 100 usec
Auto-Duplex(Full-duplex), Auto-Speed(100 Mbps)
Input flow control is unsupported, output flow control is off
MAC address 001b.d454.c092, MTU 1500
IP address 10.36.109.93, subnet mask 255.255.0.0
23990802 packets input, 1619288894 bytes, 0 no buffer
Received 22034675 broadcasts, 0 runts, 0 giants
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort
0 pause input, 0 resume input
58006 L2 decode drops
912400 packets output, 58393600 bytes, 0 underruns
0 pause output, 0 resume output
0 output errors, 0 collisions, 25 interface resets
0 late collisions, 0 deferred
40 input reset drops, 0 output reset drops, 0 tx hangs
input queue (blocks free curr/low): hardware (255/241)
output queue (blocks free curr/low): hardware (255/253)
Traffic Statistics for "outside":
23932752 packets input, 1184782039 bytes
912408 packets output, 25547424 bytes
1785822 packets dropped
1 minute input rate 8 pkts/sec, 429 bytes/sec
1 minute output rate 0 pkts/sec, 7 bytes/sec
1 minute drop rate, 0 pkts/sec
5 minute input rate 8 pkts/sec, 395 bytes/sec
5 minute output rate 0 pkts/sec, 7 bytes/sec
5 minute drop rate, 0 pkts/sec
ciscoasa(config)#
您可以使用 show asp drop
命令檢視這些資料包丟棄的更詳細的原因。請勿將packets dropped counter與介面錯誤計數器混淆。
該計數器只針對命名介面顯示,因為它不表示物理錯誤計數器,而表示ASA策略丟棄計數器。如果使TenGig介面成為命名介面(使用 nameif x
命令)丟棄計數器在 show interface
命令,但是如果該介面僅是埠通道的成員,則不需要。
要通過SNMP獲取每個介面的此計數器值,請使用以下OID: .1.3.6.1.2.1.2.1.13。
相關資訊