Cisco Cisco Packet Data Interworking Function (PDIF)
ACS Ruledef Configuration Mode Commands
imap session-length ▀
Command Line Interface Reference, StarOS Release 17 ▄
941
imap session-length
This command allows you to define rule expressions to match the total length of an IMAP session.
Product
ACS
Privilege
Security Administrator, Administrator
Mode
Exec > ACS Configuration > Ruledef Configuration
active-charging service service_name > ruledef ruledef_name
Entering the above command sequence results in the following prompt:
[local]host_name(config-acs-ruledef)#
Syntax
[ no ] imap session-length operator session_length
no
If previously configured, deletes the specified rule expression from the current ruledef.
operator
Specifies how to match.
operator
must be one of the following:
!=
: Does not equal
<=
: Lesser than or equals
=
: Equals
>=
: Greater than or equals
session_length
Specifies the total length of IMAP session (in bytes) to match.
session_length
must be an integer from 1 through 4000000000.
Usage
Use this command to define rule expressions to match the total length of IMAP sessions.
The session length is calculated by adding together the IP payloads (that is, starting after the IP header) of all
relevant IMAP session packets.
The session length is calculated by adding together the IP payloads (that is, starting after the IP header) of all
relevant IMAP session packets.
Example
The following command defines a rule expression to match IMAP sessions with length less than or equal to
4000
bytes:
imap session-length <= 4000