Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

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.

1 REPLY
Bronze

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

323
Views
0
Helpful
1
Replies