Using Cisco embedded event manager, how to you automate a reply to an IoS prompt?

I'm using Cisco Embedded Event manager (on IoS v 12.4(9) ).   I want to have the IoS build a Crypto key on reload.  

event manager applet Generate-RSA
 event timer cron name _EEMinternalname0 cron-entry "2 * * * *"
 action 1.0 cli command "enable"
 action 1.1 cli command "config t"
 action 1.2 cli command "crypto key gen rsa"

When I manually type these commands, the IOS stops and asks what size modulus {512}?

It won't allow me to type "crypto key gen rsa modulus 512"

How do I put "512" in the event manager applet so that cron completes?

Many thanks.
jimmycherAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

JustInCaseCommented:
action 1.3 cli command "512"

So, just answer to the question
:)

PS
my device accepted
action 1.2 cli command "crypto key gen rsa modulus 512"

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
jimmycherAuthor Commented:
good info, thanks
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Routers

From novice to tech pro — start learning today.