!!! Create a Local User Name
Sw1(config)#username naresh password cisco
!!! Assign a Domain Name
Sw1(config)#ip domain-name cisco.com
!!! Next we’ll generate encryption keys
Sw1(config)#crypto key generate rsa
Sw1(config)#line vty 0 15
Sw1(config-line)#password cisco
Sw1(config-line)#login local
!!! Configure vty ports for using SSH
Sw1(config-line)#transport input telnet ssh
Verify Command’s
Sw1#show crypto key mypubkey rsa
Next Lab 1f Switch Static IP address Configuration