1、查看接口被QOS policy限速丢弃的数据包:display qos policy interface
dis qos policy interface Ten-GigabitEthernet 1/4/0/6
Interface: Ten-GigabitEthernet1/4/0/6
Direction: Inbound
Policy: LR-500M
Classifier: LR
Operator: OR
Rule(s) :
If-match any
Behavior: LR-500M
Committed Access Rate:
CIR 512000 (kbps), CBS 32000000 (Bytes), EBS 0 (Bytes)
Green action : pass
Yellow action : pass
Red action : discard
Green packets : 112972244734 (Packets)
Red packets : 71810233 (Packets)
标记为red的数据包定义动作为“discard”,Red packets表示被丢弃的数据包数量
2、清除接口计数:reset counters interface
此命令用于清除接口的计数,含qos policy计数