Cisco Cisco ASR 5700
Context Configuration Mode Commands E-H
▀ gtpp storage-server local file
▄ Command Line Interface Reference, StarOS Release 17
2474
Default: Disabled
format { custom-n }
Configures the file format to be used to format files to be stored locally.
custom1
: File format custom1—this is the default value.
custom2
: File format custom2.
custom3
: File format custom3.
custom4
: File format custom4.
custom5
: File format custom5.
custom6
: File format custom6 with a block size of 8K for CDR files.
custom7
: File format custom7 is a customer specific CDR file format.
custom8
: File format custom8 is a customer specific CDR file format. It uses
node-id-
suffix_date_time_fixed-length-seq-num
format for file naming.
Default:
custom1
name { format | prefix prefix }
Allows the format of the CDR filenames to be configured independently from the file format so that the name
format contains the file name with conversion specifications.
format contains the file name with conversion specifications.
prefix
—
Enter an alphanumeric string of 1 through 127 characters. The string must begin with the %
(percent sign).
%y: = year as a decimal number without century (range 00 to 99).
%Y: year as a decimal number with century.
%m: month as a decimal number (range 01 to 12).
%d: day of the month as a decimal number (range 01 to 31).
%H: hour as a decimal number 24-hour format (range 00 to 23).
%h: hour as a decimal number 12-hour format (range 01 to 12).
%M: minute as a decimal number (range 00 to 59).
%S: second as a decimal number (range 00 to 60). (The range is up to 60 to allow occasional leap
seconds.)
%Q: File sequence number. Field width may be specified between the % and the Q. If the natural size
of the field is smaller than this width, then the result string is padded (on the left) to the specified
width with 0s
width with 0s
%N: No of CDRs in the file. Field width may be specified between the % and the N. If the natural size
of the field is smaller than this width, then the result string is padded (on the left) to the specified
width with 0s
width with 0s
max-file-seq-no: This can be configured optionally. It indicates the maximum value of sequence
number in file name (starts from 1). Once the configured max-file-seq-no limit is reached, the
sequence number will restart from 1. If no max-file-seq-no is specified then file sequence number
ranges from 1 – 4294967295.
sequence number will restart from 1. If no max-file-seq-no is specified then file sequence number
ranges from 1 – 4294967295.
By default the above keyword is not configured (default gtpp storage-server local filename format). In which
case the CDR filenames are generated based on the file format as before (maintains backward compatibility).
case the CDR filenames are generated based on the file format as before (maintains backward compatibility).
purge-processed-files
[
file-name-pattern
file_pattern
|
purge-interval
purge_dur
]
Enables the GSN to periodically (every 4 minutes) delete locally processed (*.p) CDR files from the HDD on
the SMC card. Default: Disabled
the SMC card. Default: Disabled