Cisco Cisco ASR 5000

Page of 9109
  HD Storage Policy Configuration Mode Commands 
file  ▀   
 
Command Line Interface Reference, StarOS Release 18  ▄  
 
   
6309 
file 
Configures file parameters for Diameter records being stored on the HD storage device. 
Product
 
HSGW 
P-GW 
SAEGW 
S-GW 
Privilege
 
Administrator 
Mode
 
Exec > Global Configuration > HD Storage Policy Configuration 
configure > hd storage-policy policy_name
 
Entering the above command sequence results in the following prompt: 
[local]host_name(config-hd-storage-policy)# 
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.