6-25
Cisco SCE 2000 and SCE 1000 Software Configuration Guide
OL-7827-12
Chapter 6 Configuring the Line Interface
Configuring Traffic Rules and Counters
Managing Traffic Rules and Counters
Use these commands to display existing traffic rule configuration, as well as traffic counter configuration
(packets/bytes and the name of the rule using the counter) and traffic counter value.
You can also reset a specific counter or all counters.
• How to View a Specified Traffic Rule, page 6-25
• How to View all Traffic Rules, page 6-25
• How to View a Specified Traffic Counter, page 6-25
• How to View all Traffic Counters, page 6-26
• How to Reset a Specified Traffic Counter, page 6-26
• How to Reset all Traffic Counters, page 6-26
How to View a Specified Traffic Rule
Step 1 From the SCE# prompt, type show interface linecard 0 traffic-rule name rule-name and press Enter.
Displays the configuration of the specified traffic rule.
How to View all Traffic Rules
Step 1 From the SCE# prompt, type show interface linecard 0 traffic-rule all and press Enter.
Displays the configuration of all existing traffic rules.
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.