Cisco Cisco ASR 5000

Page of 9109
ACS Ruledef Configuration Mode Commands   
▀  smtp state 
 
 
▄  Command Line Interface Reference, StarOS Release 18 
1146 
   
smtp state 
This command allows you to define rule expressions to match current state of a SMTP command 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 ] smtp 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 the current state to match. 
current_state
 must be one of the following: 
 
close
: Closed state 
 
init
: Initialized state 
 
response-error
: Response of error state 
 
response-ok
: Response of ok state 
 
waiting-for-response
: Waiting for response state 
Usage 
Use this command to define rule expressions to match current state of SMTP command session. 
Example
 
The following command defines a rule expression to match current state as 
close
 of SMTP command 
session: 
smtp state = close