![background image](http://html.mh-extra.com/html/cisco/sce-1000-and/sce-1000-and_configuration-manual_64496190.webp)
6-24
Cisco SCE 2000 and SCE 1000 Software Configuration Guide
OL-7827-12
Chapter 6 Configuring the Line Interface
Configuring Traffic Rules and Counters
Example 4
The following example illustrates how to configure a traffic rule that will be used as a recording rule
using the flow-capture option. All flows that match this rule will be recorded when the flow capture
process is in operation.
1.
Name = FlowCaptureRule
2.
IP addresses: subscriber side = all IP addresses, network side = all IP addresses
3.
Direction = both
4.
Protocol = 250
5.
Traffic counter name = counter2
6.
Action = flow-capture
7.
The actions performed will be counting and flow capture.
SCE>enable 10
Password:<cisco>
SCE#configure
SCE(config)#interface linecard 0
SCE(config if)#
traffic-rule name
FlowCaptureRule
ip-addresses
subscriber-side all
network-side all
protocol
250
direction
both
traffic-counter name
counter2
action
flow-capture
SCE(config if)#
How to Delete a Traffic Rule
Step 1
From the SCE(config if)# prompt, type
no traffic-rule name
name
and press
Enter
.
Removes the specified traffic rule.
How to Delete all Traffic Rules
Step 1
From the SCE(config if)# prompt, type
no traffic-rule all
and press
Enter
.
Removes all existing traffic rules.
How to Delete All Flow Control Traffic Rules
Step 1
From the SCE(config if)# prompt, type
no traffic-rule capture
and press
Enter
.
Removes all flow capture traffic rules.