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

ACS 5.1 CLI question

rodbaldrick
Level 1
Level 1

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

ansalaza
Level 1
Level 1

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

How to clear logs from acs 5.1 

Any idea ?

 

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: