<< Previous Contents Index Next >>

4.4. Charging

The charge statement takes the form:

The first three parameters, charge-grp direction other-grp specify the direction and endpoints of a flow to be charged. charge-grp is the group containing the network addresses to which this charge applies. other-grp refers to the network group (possibly any) on the other end of a charged group. direction indicates the direction of traffic to be charged, and may be -> for traffic going from the charged group, <- for traffic coming into the charged group and or <> for traffic going in both directions. (The <> operator is functionally identical to two separate lines specifying each direction.)

The rate parameter specifies a rate that must also match for the charge to apply. A dash ("-") may be used to indicate that any traffic not matching other charge statements between the same endpoints. Multiple rates may be used for the same set of end points.

code indicates the charge code assigned to any traffic matching the charge rule. If code is omitted, any flow data matching the charge will be discarded.

The remaining parameters are flags indicating the level of detail to be kept at the rating level for subsequent reporting. Keeping more detail offers more flexibility for reporting, but at the expense of requiring more disk space, memory and processing power to store and process it. These are as follows:


<< Previous Contents Index Next >>