cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
455
Views
0
Helpful
2
Replies
Beginner

ACS 5.1 CLI question

In the docs it describes a command to copy individual log files off the ACS, eg

copy acs-logs filename <file> <url>

and gives this example: 

 

copy acs-logs filename file01 ftp://host01/ldir01

This doesnt work - the command intepreter doesnt like it. You get "long command detected at...". And anyway where's the username/password for the ftp server?

Seems to me that its more likely to want a repository name? I tried (optimistically)

copy acs-logs filename <file> repository <repository>

but no joy.

2 REPLIES 2
Beginner

Re: ACS 5.1 CLI question

You might want to open a TAC case so we can try to recreate.

This might be a workaround:

ACS/acsadmin# show acs-logs filename ACSManagement.log > Temp.log

ACS/acsadmin# dir

Directory of disk:/

    6810298 Dec 01 2009 16:53:57  Temp.log


ACS/acsadmin# copy disk://Temp.log   ftp://X.X.X.X/
Username: cisco
Password: xxxxx

ACS/acsadmin# delete disk://Temp.log
ACS/acsadmin# dir

Directory of disk:/ Temp.log no longer there

Highlighted
Beginner

Re: ACS 5.1 CLI question

How to clear logs from acs 5.1 

Any idea ?