Cisco Cisco ASR 5000
GTPP Server Group Configuration Mode Commands
▀ gtpp storage-server local file
▄ Command Line Interface Reference, StarOS Release 18
6196
rotation { cdr-count count
| time-interval
time
[ force-rotation ]
| volume
size
}
Specifies rotation related configuration for GTPP files stored locally.
cdr-count
count
: Configures the CDR count for the file rotation as an integer from 1000 through 65000.
Default value 10000.
time-interval
time
: Configures the time interval for file rotation (in seconds) as an integer from 30
through 86400. Default: 3600 (1 hour).
force-file-rotation
: Forces CDR file-rotation at a specified interval configured via the time-interval
keyword, even if no CDRs were generated. By default this keyword is Disabled.
volume
size
—
: Configures the file volume (in megabytes) for file rotation as an integer from 2 through 40.
This trigger can not be disabled. Default: 10
start-file-seq-num seq_num
[
recover-file-seq-num
Default: disabled
Enables the continuous file sequence number function. start-file-seq-num specifies the lowest number to be
used as a file sequence number in the case of an aaaproxy or a chassis restart/reboot.
Enables the continuous file sequence number function. start-file-seq-num specifies the lowest number to be
used as a file sequence number in the case of an aaaproxy or a chassis restart/reboot.
seq_num
is an integer from 1 to 4294967295. Entering a value of 1 disables the recover file sequence number
function. Entering any other number, for example 10, would instruct the system to always start from 10 as the
file sequence number in the event of an aaaproxy or chassis reload.
When files are moved, the file sequence numbers are synced and stored in both RAM and the hard disk drive
(HDD). recover-file-seq-num instructs the system to recover the last (largest) stored file sequence number,
in the event of an aaaproxy/chassis restart/reboot, to continue file sequence numbering rather than resetting
the file sequence numbering to the lowest start file sequence number.
file sequence number in the event of an aaaproxy or chassis reload.
When files are moved, the file sequence numbers are synced and stored in both RAM and the hard disk drive
(HDD). recover-file-seq-num instructs the system to recover the last (largest) stored file sequence number,
in the event of an aaaproxy/chassis restart/reboot, to continue file sequence numbering rather than resetting
the file sequence numbering to the lowest start file sequence number.
Usage
This command configures the parameters for storage of GTPP packets as files on the local server - meaning
the hard disk drive (HDD).
the hard disk drive (HDD).
Example
The following command configures rotation for every 1.5 hours for locally stored files.
gtpp storage-server local file rotation time-interval 5400
Configuring file name format along with max-file-seq-no:
gtpp storage-server local file name format processed_2g_%Y%m%d_%5Q_%N.cdr
max-file-seq-no 2345
max-file-seq-no 2345
Configuring file name prefix with a NULL value:
gtpp storage-server local file name prefix NULL
Configure the file name pattern and purge interval to setup file purging from the HDD:
gtpp storage-server local file purge-processed-files file-name-pattern
*.z purge-interval 4
*.z purge-interval 4