6-19
Cisco SCE 2000 and SCE 1000 Software Configuration Guide
OL-7827-12
Chapter 6 Configuring the Line Interface
Configuring Traffic Rules and Counters
The possible actions are:
•
Count
the packet by a specific traffic counter
•
Block
the packet (do not pass it to the other side)
•
Ignore
the packet (do not provide service for this packet — No bandwidth metering, transaction
reporting etc. is done)
•
Quick-forward
the packet
with service
— forward delay-sensitive packets through the fast path
while maintaining serviceability for these packets
•
Quick-forward
the packet
with no service
— 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
Block
and
Ignore
actions affect only packets that are not part of an existing flow.
Note that
Block
and
Ignore
are mutually exclusive. However, blocked or ignored packets can also be
counted.
It is possible for a single packet to match more that one rule (The simplest way to cause this is to
configure two identical rules with different names). When this happens, the system operates as follows:
•
Any counter counts a specific packet only once. This means that:
–
If two rules specify that the packet should be counted by the same counter, it is counted only
once.
–
If two rules specify that the packet should be counted by different counters, it is counted twice,
once by each counter.
•
Block
takes precedence over
Ignore
— If one rule specifies
Block,
and another rule specifies
Ignore,
the packet is blocked.
Traffic Counters
Traffic counters count the traffic as specified by the traffic rules. The maximum number of counters is
32. Each counter is given a name when it is defined, which is then used when referring to the counter.
A traffic counter can be configured in one of two ways:
•
Count packets
— the counter is incremented by 1 for each packet it counts.
•
Count bytes
— the counter is incremented by the number of bytes in the packet for each packet it
counts.
Configuring Traffic Counters
A traffic counter must be created before it can be referenced in a traffic rule. Use the following
commands to create and delete traffic counters.
•
How to Create a Traffic Counter, page 6-20
•
How to Delete a Traffic Counter, page 6-20
•
How to Delete all Existing Traffic Counters, page 6-20