cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Bookmark
|
Subscribe
|
1982
Views
0
Helpful
5
Replies

File Prompt Quiet for Cisco ASA? - Using EEM to Backup Config w/ TFTP

jkwak14
Level 1
Level 1

Hello Community,

I'm trying to configure backing up my Cisco ASA 5585's configuration via event manager with TFTP but I'm not able to determine the equivalent command for "file prompt quiet". Would anything know if it's possible to do and how it can be performed? Thank you much in advance!

1 Accepted Solution

Accepted Solutions

Hello Georg,

 

You can say the syntax/concept is quite different from a switch or router as the outcome/backup is a .tar (zipped) file and not simply a config file. However, the .tar file does include both running and startup configs in addition to other ASA necessities such as certs and profiles. The file will be considerably larger than a simple config file but I just decided to use this rather than continue to try to figure out how to only offload the config file with EEM.

 

Here is what I configured and tested as an example/reference:

 

event manager applet DAILY_BACKUP

  event time absolute time 21:59:59

  action 2 cli command "enable"

  action 3 cli command "backup /noconfirm location tftp://10.X.X.X/"

  action 4 cli command "end"

View solution in original post

5 Replies 5

 

action 3.0 cli command "conf t"
action 4.0 cli command "file prompt quiet"
action 5.0 cli command "end"
action 6.0 cli command "copy ftp:xxxxxx   flash:"

Thank you for your reply but the Cisco ASA 5000s does not have "file prompt quiet" available in regards to syntax as I stated "I'm not able to determine the equivalent command for "file prompt quiet"."

jkwak14
Level 1
Level 1

Figured it out.

Hello,

 

can you share how you resolved this, for reference ? I could not find that command either...

Hello Georg,

 

You can say the syntax/concept is quite different from a switch or router as the outcome/backup is a .tar (zipped) file and not simply a config file. However, the .tar file does include both running and startup configs in addition to other ASA necessities such as certs and profiles. The file will be considerably larger than a simple config file but I just decided to use this rather than continue to try to figure out how to only offload the config file with EEM.

 

Here is what I configured and tested as an example/reference:

 

event manager applet DAILY_BACKUP

  event time absolute time 21:59:59

  action 2 cli command "enable"

  action 3 cli command "backup /noconfirm location tftp://10.X.X.X/"

  action 4 cli command "end"