The run show copp statistics command displays the statistics information of the forwarding class, including input and dropped packets and rate.

 

Command Syntax

run show copp statistics [active | forwarding-class forwarding-class-name] 


Parameter

Parameter

Description

active

Optional.

Specifies state of the forwarding class. With this parameter, only shows the statistics information of the active forwarding class.

forwarding-class forwarding-class-name

Optional.

Specifies forwarding class name, the value is a string type, spaces are not allowed.

 

Example

• Show the statistics information of the forwarding class.

admin@Xorplus# run show copp statistics
All Copp Traffic statistics:
Input rate 272 bits/sec, 0 packets/sec
Input Packets............................1
Input Octets.............................153
Drop rate 0 bits/sec, 0 packets/sec
Drop Packets.............................0
Drop Octets..............................0

arp-class Traffic statistics:
forwarding-class state: inactive
Input rate 0 bits/sec, 0 packets/sec
Input Packets............................0
Input Octets.............................0
Drop rate 0 bits/sec, 0 packets/sec
Drop Packets.............................0
Drop Octets..............................0

copp-class1 Traffic statistics:
forwarding-class state: active
Input rate 0 bits/sec, 0 packets/sec
Input Packets............................0
Input Octets.............................0
Drop rate 0 bits/sec, 0 packets/sec
Drop Packets.............................0
Drop Octets..............................0

......