Chapter 6
Configuring the Line Interface
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
From the SCE# prompt, type show interface linecard 0 traffic-rule name rule-name and press Enter.
Step 1
Displays the configuration of the specified traffic rule.
How to View all Traffic Rules
From the SCE# prompt, type show interface linecard 0 traffic-rule all and press Enter.
Step 1
Displays the configuration of all existing traffic rules.
How to View a Specified Traffic Counter
From the SCE# prompt, type show interface linecard 0 traffic-counter name counter-name and press
Step 1
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.
OL-7827-12
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
Configuring Traffic Rules and Counters
Cisco SCE 2000 and SCE 1000 Software Configuration Guide
6-25