Configures file parameters
for Diameter records being stored on the HD storage device.
Product:
HSGW, P-GW, S-GW
Syntax
file { format
acr { custom1...custom10 } | name { extension string | prefix string } | rotation { record-count num | time-interval sec | volume
mb mbytes } }
default file { format
acr | name prefix | rotation { record-count | time-interval | volume } }
no file ( extension | rotation { record-count |
time-interval } }
default
Returns the command
to the default settings for the specified keywords.
no
Removes the configuration
for the specified parameters.
format acr { custom1...custom10 }
Default: custom1
Specifies the file
format used when storing records on the HD storage device. custom1 is
a vendor-specific file format.
name { extension string | prefix string }
Specifies a string
to be pre-pended or appended to the filenames. By default, the policy
name is used for the prefix.
extension string: Specifies
a file extension to append to the filename. string must
be an alphanumeric string of 1 through 10 characters.
prefix string: Specifies
a file prefix to append to the filename. string must
be an alphanumeric string of 1 through 63 characters. This parameter
replaces the policy name used by default.
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