簡介
本文檔介紹如何對show interface命令輸出中丟棄的計數器進行故障排除。
必要條件
需求
本文件沒有特定需求。
採用元件
本文件所述內容不限於特定軟體和硬體版本。
本文中的資訊是根據特定實驗室環境內的裝置所建立。文中使用到的所有裝置皆從已清除(預設)的組態來啟動。如果您的網路運作中,請確保您瞭解任何指令可能造成的影響。
慣例
如需文件慣例的詳細資訊,請參閱思科技術提示慣例。
Q.我看到 show interface 命令輸出中的packets dropped計數器在增加。如何疑難排解此計數器增加的原因?
A.自適應安全裝置(ASA)的 show interface 命令輸出中的packets dropped計數器代表介面上所有丟棄的資料包。此計數器包含所有與安全性相關的封包捨棄。預計此計數器在生產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計數器與介面錯誤計數器混淆。
此計數器僅針對命名介面顯示,因為它不代表物理錯誤計數器,而是ASA策略丟棄計數器。如果將TenGig介面設定為命名介面(使用 nameif x 命令),則丟棄計數器會在 show interface 命令的輸出中顯示該介面,但如果該介面僅是埠通道的成員,則不顯示。
若要透過SNMP取得每個介面的這個計數器值,請使用以下OID: .1.3.6.1.2.1.2.1.13。
注意:請參閱《ASA命令參考》中的 show asp drop 。
相關資訊