Cisco Cisco ASR 5000

Page of 9109
  ACS Ruledef Configuration Mode Commands 
tcp session-length  ▀   
 
Command Line Interface Reference, StarOS Release 18  ▄  
 
   
1169 
tcp session-length 
This command allows you to define rule expressions to match the total length of a TCP 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 ] tcp 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 TCP session length (in bytes) to match as be an integer from 0 through 4000000000. 
Usage 
Use this command to define rule expressions to match the total length of a TCP session. 
The session-length is calculated by adding together the TCP payload-length values of all relevant packets. 
Example
 
The following command defines a rule expression to match user traffic based on TCP session length of 
2000
 
bytes: 
tcp session-length = 2000