Cisco Cisco Packet Data Gateway (PDG) Dépliant
ACS Ruledef Configuration Mode Commands
imap state ▀
Cisco ASR 5x00 Command Line Interface Reference ▄
907
imap state
This command allows you to define rule expressions to match the current state of IMAP sessions.
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 state operator current_state
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
=
: Equals
current_state
Specifies current state of IMAP session to match.
current_state
must be one of the following:
request-sent
: Request message sent
response-fail
: Request response failed
response-ok
: Request response is good
Usage
Use this command to define rule expressions to match the current state of IMAP session.
Example
The following command defines a rule expression to match IMAP sessions with current state
response-
fail
:
imap state = response-fail