Chapter 7 Line Configuration
Configuring Traffic Rules and Counters
SCE 1000 2xGBE Release 2.0.10 User Guide
7-6 OL-7117-02
Traffic Rules
A traffic rule specifies that a defined action should be taken on packets processed by the SCE
Platform that meet certain criteria. The maximum number of rules is 128. Each rule is given a
name when it is defined, which is then used when referring to the rule.
Packets are selected according to user-defined criteria, which may be any combination of the
following:
• IP address: A single address or a subnet range can be specified for each of the line ports
(Subscriber / Network).
• Protocol: TCP/UCP/ICMP/IGRP/EIGRP/IS-IS/OSPF/Other
• TCP/UDP Ports: A single port or a port range can be specified for each of the line ports
(Subscriber / Network). Valid for the TCP/UDP protocols only.
• TCP flags (TCP only).
• Direction (Upstream/Downstream).
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)
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.
Comments to this Manuals