6-22
Cisco SCE 2000 and SCE 1000 Software Configuration Guide
OL-7827-12
Chapter 6 Configuring the Line Interface
Configuring Traffic Rules and Counters
One of the following:
• block — Block the specified traffic
• ignore — Bypass the specified traffic; traffic receives no service
• quick-forwarding — Forward delay-sensitive packets through the fast path while maintaining
serviceability for these packets
• quick-forwarding-ignore — Forward delay-sensitive packets through the fast path with no service
provided for these packets.
• flow-capture — Capture the flow configured by this rule. No service to this flow
Step 1 From the SCE(config if)# prompt, type traffic-rule name name IP-addresses (all|(subscriber-side
<IP specification> network-side <IP specification>)) protocol protocol [ports subscriber-side <port
specification> network-side <port specification>] [tunnel-id <tunnel-id specification>]
direction
direction traffic-counter <traffic-counter>[action action ]
Enables privileged EXEC mode.
Configuring Traffic Rules: Examples
• Example 1, page 6-22
• Example 2, page 6-23
• Example 3, page 6-23
• Example 4, page 6-24
Example 1
This example creates the following traffic rule:
• Name = rule1
• IP addresses: subscriber side = all IP addresses, network side = 10.10.10.10 only
• Protocol = other
• Direction = both
• Traffic counter = counter1
• The only action performed will be counting
SCE(config if)# traffic-rule rule1 IP-addresses subscriber-side all network-side
10.10.10.10 protocol other direction both traffic-counter name counter1