HD Storage Policy Configuration Mode Commands


HD Storage Policy Configuration Mode Commands
 
 
The HD Storage Policy Configuration Mode is used to configure directory name and file parameters for Diameter record files being stored on the HD storage device.
 
 
directory
Configures the name of the directory on the HD storage drive where Diameter records are stored.
Product
HSGW, P-GW, S-GW
Privilege
Administrator
Syntax
directory name dir_name
default directory name
default
Returns the command to its default setting of using the policy name as the directory name.
name dir_name
Specifies the name to be applied to the directory. dir_name must be an alpha and or numeric string from 1 to 63 characters.
When configured, the actual directory path is:
/hd-raid/records/<record-type>/<dir_name>/
So if the directory name variable is entered as “sgwpgw”, the path is:
/hd-raid/records/acr/sgwpgw
Usage
Use this command to name a directory on the HD storage drive where Diameter records are to be stored.
Example
The following command configures a directory named cdr1:
directory name cdr1
 
end
Exits the current mode and returns to the Exec Mode.
Product
All
Privilege
Security Administrator, Administrator
Syntax
end
Usage
Change the mode back to the Exec mode.
 
exit
Exits the current mode and returns to the previous mode.
Product
All
Privilege
Security Administrator, Administrator
Syntax
exit
Usage
Return to the previous mode.
 
file
Configures file parameters for Diameter records being stored on the HD storage device.
Product
HSGW, P-GW, S-GW
Privilege
Administrator
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 alpha and/or numeric string from 1 to 10 characters.
prefix string: Specifies a file prefix to append to the filename. string must be an alpha and/or numeric string from 1 to 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: Specifies that file rotation is to occur when the number of records reaches the number configured in this keyword. num must be an integer value from 1000 tom 65000. Default = 10000
time-interval sec: Specifies that file rotation is to occur a time intervals configure in this keyword. sec must be an integer value from 30 to 86400. Default = 3600 (1 hour)
volume mb mbytes: Specifies that file rotation is to occur when the record volume exceeds the value configured in the keyword. mbytes must be an integer value from 2 to 40. Default = 4 (mb)
Usage
Use this command to configure file parameters for Diameter records being stored on the HD storage device.
Example
The following command set the file rotation thresholds for files being stored on the HD storage device:
file rotation volume mb 4file rotation record-count 15000file 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
 
 

Cisco Systems Inc.
Tel: 408-526-4000
Fax: 408-527-0883