The show interface counters [detailed] Command
The show interface counters and show interface counters detailed are similar but the number of counters is more in the show interface counters detailed (Example 4-7) command. This command outputs a range of important counters grouped in the following categories: show interface counters 和 show interface counters detailed 命令类似,但 show interface counters detailed(例 4-7)命令中的计数器数量更多。该命令输出一系列重要计数器,分为以下几类:
Rate stats
Total Stats
Link Stats
Loop Stats
Congestion Stats
For troubleshooting congestion, the most important counters are grouped in the Congestion Stats section but the BB_SCs, BB_SCr, FEC and LR counters listed in the Link Stats group are also important. These counters give a cumulative view of the interface but do not indicate exactly when they incremented except for the “last Cleared” date/time. 对于拥塞故障诊断,最重要的计数器集中在拥塞统计部分,但链路统计组中列出的 BB_SC、BB_SCr、FEC 和 LR 计数器也很重要。这些计数器提供了接口的累积视图,但除了 "上次清除 "日期/时间外,并不准确显示其递增时间。
Use this command for investigating an ongoing issue in real-time. It is concise, and it is module-type independent, unlike OBFL. It gives a good quick view of any problems that have occurred on a link. For a port channel (link aggregation) interface, this command shows the sum of the counters from all the member interfaces. 使用该命令可实时调查正在发生的问题。该命令简洁明了,与 OBFL 不同,与模块类型无关。它能快速显示链路上出现的任何问题。对于端口通道(链路聚合)接口,该命令显示所有成员接口计数器的总和。
Example 4-7 NX-OS command show interface fc counters detailed on Cisco MDS switches
MDS# show interface fc10/48 counters detailed
fc10/48
Rx 5 min rate bit/sec: 0
Tx 5 min rate bit/sec: 320
Rx 5 min rate bytes/sec: 0
Tx 5 min rate bytes/sec: 40
Rx 5 min rate frames/sec: 0
Tx 5 min rate frames/sec: 0
Total Stats:
Rx