7-35
Cisco SCE 8000 10GBE Software Configuration Guide
OL-30621-02
Chapter 7 Configuring Line Interfaces
Configuring Traffic Rules and Counters
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
From the SCE# prompt, enter:
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
From the SCE# prompt, enter:
How to Reset All Traffic Counters
From the SCE# prompt, enter:
Command
Purpose
show interface linecard 0 traffic-counter all
Displays the value of the each counter and lists the
traffic rules that use it.
Command
Purpose
clear interface linecard 0 traffic-counter name
counter-name
Resets the specified traffic counter.
Command
Purpose
clear interface linecard 0 traffic-counter all
Resets all traffic counters.