Cisco Cisco Packet Data Gateway (PDG) Ratgeber Für Administratoren

Seite von 413
  HDD Storage 
HDD Configuration  ▀   
 
Cisco ASR 5x00 GTPP Interface Administration and Reference  ▄  
 
   
403 
namepattern name_pattern | purge-interval purge_interval ] | push { encrypted-url 
encrypted_url | url url } [ encrypted-secondary-url encrypted_url | secondary-url url ] [ 
via-local-context ] | rotation { cdr-count count | time-interval 
time [ force-
filerotation ] | volume mb 
size } | start-file-seq-num seq_num [ recover-file-seq-num ] 
         exit 
         end 
Notes: 
 
The 
gtpp storage-server local file push
 command enables the push mode. This configuration will 
allow a primary and a secondary server to be configured. When a file transfer to primary fails four times, the 
transfer of CDR files will automatically be failed over to the secondary server. The transfer will switch back to 
the original primary after 30 minutes, or if there are four transfer failures to the secondary server. 
 
The keyword 
[via-local-context]
 is used to specify whether to use the gtpp group's context or use local 
context to push/reach remote server.. 
Important:
  If the push is done through GTPP group context then the push rate is lesser 
compared to via local context, as the HDD is attached to the local context. 
For more information on this command, refer to the Command Line Interface Reference
Viewing Statistics 
To view CDR file statistics, in the Exec Mode, enter the following command: 
show cdr statistics
 
Pushing CDR Files Manually 
To manually push CDR files to the configured remote server, in the Exec mode, use the following command: 
cdr-push { all | local-filename file_name }
 
Notes: 
 
Before you can use this command, the CDR transfer mode and file locations must be set to push in the GTPP 
Group Configuration Mode. 
 
The 
cdr-push
 command is available in the Exec Mode. 
 
file_name
 must be absolute path of the local file to push. 
Retrieving CDR Files 
To retrieve CDR files you must SFTP into the context that was configured for CDR file generation. 
This was done with the FTP-enabled account that you configured in the Enabling Charging Record Retrieval section. 
The following commands use SFTP to log on to a context named 
ECP
 as a user named 
ecpadmin
, through an interface 
configured in the ECS context that has the IP address 
192.168.1.10
 and retrieve all CDR files from the default 
locations: 
sftp -oUser=ecpadmin@ECP 192.168.1.10:/records/cdr/<gtpp-group>-<vpnid>/*