Link to home
Start Free TrialLog in
Avatar of jimmycher
jimmycherFlag for United States of America

asked on

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.
ASKER CERTIFIED SOLUTION
Avatar of Predrag Jovic
Predrag Jovic
Flag of Poland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of jimmycher

ASKER

good info, thanks