Cisco Cisco ASR 5000

Page of 9109
ACS Ruledef Configuration Mode Commands   
▀  tcp flag 
 
 
▄  Command Line Interface Reference, StarOS Release 18 
1158 
   
tcp flag 
This command allows you to define rule expressions to match bit within the flag field of TCP headers. 
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 ] tcp flag operator flag 
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: 
 
!contains
: Does not contain 
 
contains
: Contains 
 
!=
: Does not equal 
 
=
: Equals 
flag
 
Specifies the flag value to match. 
flag
 must be one of the following: 
 
ack
: TCP FLAG ACK 
 
fin
: TCP FLAG FIN 
 
push
: TCP FLAG PUSH 
 
reset
: TCP FLAG RESET 
 
syn
: TCP FLAG SYN 
Usage 
Use this command to define rule expressions to match a bit within the flag field of TCP headers. 
Example
 
The following command defines a rule expression to match 
reset
 within flag field of TCP headers: