Cisco Cisco Packet Data Gateway (PDG) Dépliant

Pagina di 8487
  ACS Ruledef Configuration Mode Commands 
ftp state  ▀   
 
Cisco ASR 5x00 Command Line Interface Reference  ▄  
 
   
825 
ftp state 
This command allows you to define rule expressions to match the current state of an FTP 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 ] ftp state operator ftp_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 
ftp_state
 
Specifies the FTP state to match. 
ftp_state
 must be one of the following: 
 
close
: FTP transmissions that are in closed state. 
 
command-sent
: FTP transmissions that are in command-sent state. 
 
response-error
: FTP transmissions that are in response-error state. 
 
response-ok
: FTP transmissions that are in response-ok state. 
Usage 
Use this command to define rule expressions to match the current state of an FTP session. 
Example
 
The following command defines a rule expression to match FTP current state 
close
ftp state = close