cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1241
Views
0
Helpful
1
Replies

PI 3.6 and interactive cli templates

benell
Level 1
Level 1

Hi everybody,

 

at the moment I try to automize the Router Provisioning. For SSH/DMVPN it's neccessary to create keys.

 

I've tried a lot:

#INTERACTIVE
crypto key generate rsa general-keys<IQ>How many bits<R>2048
#ENDS_INTERACTIVE

-> not working

 

<MLTCMD>crypto key generate rsa general-keys
2048</MLTCMD>

-> not working

 

<MLTCMD>key config-key password-encrypt

MyKey1

MyKey1</MLTCMD>

-> not working

 

Do you have working examples for this type of template?

 

thanks in advance

ben

1 Reply 1

benell
Level 1
Level 1

Hi all,

 

SSH solved by "crypto key generate rsa general-keys modulus 2048"

 

but "key config-key password-encrypt key1" is not working :(

 

pls help :)

Review Cisco Networking for a $25 gift card