ACS 5.1 CLI question

Unanswered Question
Dec 1st, 2009
User Badges:

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
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
ansalaza Tue, 12/01/2009 - 10:03
User Badges:
  • Cisco Employee,

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

Actions

This Discussion