Traffic Counters; Configuring Traffic Counters - Cisco SCE2020-4XGBE-SM Configuration Manual

Software configuration guide
Table of Contents

Advertisement

Chapter 6
Configuring the Line Interface
The possible actions are:
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:

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:

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.
OL-7827-12
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
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.
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.
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
Configuring Traffic Rules and Counters
Cisco SCE 2000 and SCE 1000 Software Configuration Guide
6-19

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sce 2000Sce 1000

Table of Contents