Cisco Cisco Tunnel Terminating Gateway (TTG)
GTPP Server Group Configuration Mode Commands
▀ gtpp storage-server local file
▄ Command Line Interface Reference, StarOS Release 16
6012
format custom1 .. 8
Configures the file format to be used to format files to be stored locally.
custom1 —
File format custom1 - this is the default file format.
custom2 to custom5
Customer specific CDR file formats.
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
.u format for file naming where:
date
is date in MMDDYYYYY (01312010) for mat
time
is time in HHMMSS (023508) format
fixed-length-seq-num
is the fixed length of the sequence number for s specific file having a 6-digit
counter starting from 000001 and ending at 999999. When file sequence reaches 999999, the
sequence is reset to 000001.
sequence is reset to 000001.
name format string
Allows the format of the CDR filenames to be configured independently so that the name format contains the
file name with conversion specifications.
file name with conversion specifications.
string
—
is an alphanumeric string of 1 through 127 characters. It 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
%% = This field is used to add % to the CDR file name.
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 file name 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).