7-34
Cisco SCE 8000 10GBE Software Configuration Guide
OL-30621-02
Chapter 7 Configuring Line Interfaces
Configuring Traffic Rules and Counters
How to Delete All Flow Control Traffic Rules
From the SCE(config if)# prompt, enter
:
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 7-34
•
How to View All Traffic Rules, page 7-34
•
How to View a Specified Traffic Counter, page 7-34
•
How to View All Traffic Counters, page 7-35
•
How to Reset a Specified Traffic Counter, page 7-35
•
How to Reset All Traffic Counters, page 7-35
How to View a Specified Traffic Rule
From the SCE# prompt, enter:
How to View All Traffic Rules
From the SCE# prompt, enter:
How to View a Specified Traffic Counter
From the SCE# prompt, type:
Command
Purpose
no traffic-rule capture
Removes all flow capture traffic rules.
Command
Purpose
show interface linecard 0 traffic-rule name
rule-name
Displays the configuration of the specified traffic
rule.
Command
Purpose
show interface linecard 0 traffic-rule all
Displays the configuration of all existing traffic
rules.
Command
Purpose
show interface linecard 0 traffic-counter name
counter-name
Displays the value of the specified counter and
lists the traffic rules that use it.