Overview of Traffic Statistics
After MQC is used to implement traffic statistics, the device collects statistics on packets matching traffic classification rules. The statistics on forwarded and discarded packets matching a traffic policy help you check whether the traffic policy is correctly applied and locate faults.
You can run the display traffic-policy statistics command to view the statistics on forwarded and discarded packets matching a traffic policy only after MQC is used to implement traffic statistics.
Statistics Collection Mode |
Display Command |
Range |
Remarks |
---|---|---|---|
Traffic statistics |
display traffic-policy statistics | Packets matching traffic classification rules after a traffic policy is applied |
The packets do not include packets sent to the CPU. |
Interface statistics |
display interface | All packets on an interface |
The packets include packets sent to the CPU. |