% Generating 2048 bit RSA keys, keys will be non-exportable. IOS(config)#crypto key generate rsa modulus 2048 The higher the number is, it’s more strong and secure. Please note that, we have option to choose key module from 360 to 4096. IOS(config)#crypto key generate rsa modulus ? We have configured hostname as IOS and domain-name as letsconfig.local so, our RSA key name will be. We have configured hostname and domain-name because they are needed to generate RSA key. IOS(config)#ip domain-name letsconfig.local
Now, we need to configure a domain name for our system. First of all, let’s configure the hostname of the device.