Appendix A CSG2 Command Reference

meter include imap

BODY.PEEK[#.TEXT]

RFC822

RFC822.TEXT

HEADER—If the bytes cannot be classified as BODY, then they are classified as HEADER if a fetch request or response is encountered for one of the following specifications (including any appended “<>” subset variants):

BODY[HEADER]

BODY[#.HEADER]

BODY.PEEK[HEADER]

BODY.PEEK[#.HEADER]

RFC822.HEADER

OTHER—If request or response cannot be classified as BODY or HEADER, then it is classified as OTHER. OTHER examples include:

SYN/FIN/ACK/RST packets that do not contain a payload

Non-HEADER or BODY IMAP commands such as 3 select inbox

Retransmitted packets

Anything else that is not considered BODY or HEADER

If the session becomes encrypted or enters PASSTHRU mode, subsequent packets for the session cannot be parsed and are treated as OTHER.

Because IMAP metering is byte-based, you cannot configure both meter include imap and basis fixed or basis second in the same service. Only basis byte is meaningful with meter include imap.

Examples

 

The following example shows how to configure IMAP to count only BODY bytes when performing

 

 

prepaid debits:

 

 

 

ip csg service S1

 

 

 

meter include imap body only

 

 

 

 

 

Related Commands

 

Command

Description

 

 

 

 

 

 

ip csg service

Configures a CSG2 content billing service, and enters CSG2 service

 

 

 

configuration mode.

 

 

 

 

 

 

meter exclude control sip

Excludes call control packets for a Session Initiation Protocol (SIP)

 

 

 

session from the CSG2 usage calculation.

 

 

 

 

 

 

meter exclude mms wap

Excludes bytes for a WAP 1.x Multimedia Messaging Service (MMS)

 

 

 

session from the CSG2 usage calculation.

 

 

 

 

 

meter exclude network-init sip Excludes incoming Session Initiation Protocol (SIP) transactions

 

 

 

(that is, those that are initiated from the network) from the CSG2

 

 

 

usage calculation.

 

 

 

 

 

 

meter exclude pause rtsp

Excludes the Real Time Streaming Protocol (RTSP) PAUSE time

 

 

 

from the CSG2 usage calculation.

 

 

 

 

 

 

meter exclude svc-idle

Excludes the final service idle from the CSG2 usage calculation.

 

 

 

 

 

 

Cisco Content Services Gateway - 2nd Generation Release 2.0 Installation and Configuration Guide

 

 

 

 

 

 

 

OL-15491-01

 

 

A-189

 

 

 

 

 

Page 189
Image 189
Cisco Systems OL-15491-01 appendix RFC822, Prepaid debits, 189, Ip csg service S1