![Cisco SCE8000 GBE Configuration Manual Download Page 129](http://html.mh-extra.com/html/cisco/sce8000-gbe/sce8000-gbe_configuration-manual_19298129.webp)
6-15
Cisco SCE8000 Software Configuration Guide
OL-16479-02
Chapter 6 Configuring the Line Interface
Configuring Traffic Rules and Counters
How to View a Specified Traffic Counter
Step 1
From the SCE# prompt, type
show interface linecard 0 traffic-counter name
counter-name
and press
Enter
.
Displays the value of the specified counter and lists the traffic rules that use it.
Viewing a Traffic Counter: Example
The following example displays information for the traffic counter “cnt”.
SCE# show interface linecard 0 traffic-counter name cnt
Counter 'cnt' value: 0 packets. Rules using it: None.
How to View all Traffic Counters
Step 1
From the SCE# prompt, type
show interface linecard 0 traffic-counter all
and press
Enter
.
Displays the value of the each counter and lists the traffic rules that use it.
Viewing the Traffic Counters: Example
The following example displays information for all existing traffic counters.
SCE# show interface linecard 0 traffic-counter all
Counter 'cnt' value: 0 packets. Rules using it: None.
Counter 'cnt2' value: 0 packets. Rules using it: Rule2.
2 counters listed out of 32 available.
How to Reset a Specified Traffic Counter
Step 1
From the SCE# prompt, type
clear interface linecard 0 traffic-counter name
counter-name
and press
Enter
.
Resets the specified traffic counter.
How to Reset all Traffic Counters
Step 1
From the SCE# prompt, type
clear interface linecard 0 traffic-counter all
and press
Enter
.
Resets all traffic counters.