简介
本文档介绍如何对show interface命令输出中的丢弃计数器进行故障排除。
先决条件
要求
本文档没有任何特定的要求。
使用的组件
本文档不限于特定的软件和硬件版本。
本文档中的信息都是基于特定实验室环境中的设备编写的。本文档中使用的所有设备最初均采用原始(默认)配置。如果您的网络处于活动状态,请确保您了解所有命令的潜在影响。
规则
有关文档规则的详细信息,请参阅 Cisco 技术提示规则。
问:我看到 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策略丢弃计数器。如果使用 nameif x 命令将TenGig接口设置为命名接口,则在 show interface 命令输出中会显示该接口的丢弃计数器,但如果该接口仅是port-channel的成员,则不会显示。
要通过SNMP获取每个接口的此计数器值,请使用以下OID: .1.3.6.1.2.1.2.2.1.13。
注意:请参阅《ASA命令参考》中的 show asp drop 。
相关信息