cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
410
Views
0
Helpful
5
Replies

CDR Query

alap84
Level 1
Level 1

i have a query releated to CDR, due to some issue server was unreachable but back in 2 mins, 

 

now when i am seeing on router flash it shows 2 files remains there

 

my config is as below

gw-accounting file
primary ftp IP Address/BibCme1/ username anonymous password xxxxxx
secondary ifs flash:cdrbib
acct-template callhistory-detail
maximum buffer-size 15
maximum retry-count 4
maximum fileclose-timer 60
maximum cdrflush-timer 55

 

535 -rw- 48884 May 7 2018 16:28:46 +03:00 cdrbib.CME.05_07_2018_16_15_36.629
534 -rw- 3276 May 7 2018 16:35:08 +03:00 cdrbib.CME.05_07_2018_16_35_08.284

 

my question is if i do these 2 commands, 

 

file-acct flush with-close

file-acct reset

 

will these file goes automatically and removed from the DIR with the records in billing server or it remains there ?

5 Replies 5

R0g22
Cisco Employee
Cisco Employee
Executing the flush and reset should remove the files from the flash. If they are not being able to delete them, do a "show file descriptor" to see if these files are still open. If they are, flush won't work. You will have to reload the router and then try to flush/reset again.

i just checked and find no file open but in DIR its still showing 

 

sh file descriptors
File Descriptors:

FD Position Open PID Path
No open file descriptors

 

 

535 -rw- 48884 May 7 2018 16:28:46 +03:00 cdrbib.CME.05_07_2018_16_15_36.629
534 -rw- 3276 May 7 2018 16:35:08 +03:00 cdrbib.CME.05_07_2018_16_35_08.284

R0g22
Cisco Employee
Cisco Employee
So you did a flush and reset but the files are not being deleted ?
What is the platform or IOS ?

yes did both but still its showing

 

2911 --- 15.6(3)M1

R0g22
Cisco Employee
Cisco Employee
Reboot the router once and then try the flush. I don't remember a defect for CDR on that IOS code.