Cisco Cisco Packet Data Gateway (PDG)

Page de 8770
HD Storage Policy Configuration Mode Commands   
▀  file 
 
 
▄  Command Line Interface Reference, StarOS Release 16 
6128 
   
rotation { record-count
 
num | time-interval sec | volume mb mbytes }
 
Specifies the triggers that prompt file rotation on the HD storage drive. All options can be configured and 
upon reaching any of the thresholds, file rotation is initiated. 
record-count num
: File rotation occurs when the number of records reaches the number configured in this 
keyword. 
num
 must be an integer from 1000 through 65000. Default = 10000 
time-interval sec
: File rotation occurs at time intervals (in seconds) configured by this keyword. 
sec
 
must be an integer from 30 through 86400. Default = 3600 (1 hour) 
volume mb mbytes
: File rotation occurs when the record volume exceeds the value (in megabytes) 
configured by this keyword. 
mbytes
 must be an integer from 2 through 40. Default = 4 
Usage 
Use this command to configure file parameters for Diameter records being stored on the HD storage device. 
Example
 
The following command sets the file rotation thresholds for files being stored on the HD storage device: 
file rotation volume mb 4 
file rotation record-count 15000 
file rotation time-interval 7200 
The following command replaces the policy name as the prefix of all files being stored through this policy 
with the prefix 
sgw
file name prefix sgw