Specifications

Table Of Contents
2-531
Cisco SCE 2000 and SCE 1000 CLI Command Reference
OL-26797-03
Chapter 2 CLI Command Reference
traffic-rule
Direction = downstream
Traffic counter = counter2
Action = Block
The actions performed will be counting and blocking
SCE>enable 10
Password:<cisco>
SCE#config
SCE(config)#interface linecard 0
SCE(config if)# traffic-rule name rule2 ip-addresses subscriber-side all network-side
all-but 10.10.10.0/24 protocol tcp ports subscriber-side 100 network-side all-but 200
direction downstream traffic-counter name counter2 action block
SCE(config if)
Example 2:
This example creates the following traffic rule:
Name = rule3
IP addresses: all
Protocol = IS-IS
Direction = upstream
Traffic counter = none
Action = ignore (required since traffic-counter = none)
The only action performed will be Ignore.
SCE>enable 10
Password:<cisco>
SCE#config
SCE(config)#interface linecard 0
SCE(config if)# traffic-rule name rule3 ip-addresses all protocol is-is direction upstream
traffic-counter name none action ignore
SCE(config if)
Example 3:
The following example demonstrates how to delete all traffic rules.
SCE>enable 10
Password:<cisco>
SCE#config
SCE(config)#interface linecard 0
SCE(config if)# no traffic-rule all
SCE(config if)
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