Connect to the switch using telnet or using console port. (You should enable telnet and give a password from express setup.)
enable configure terminal hostname <switchname> ip domain-name <domain name> crypto key generate rsaEnter "1024" when it prompts for
How many bits int the modulus [512]:Then run below commands
interface fa0/0 ip address 192.168.1.1 255.255.255.0 no shutdown username <username> priv 15 secret <password> aaa new-model enable secret <password>If you have a Cisco router use "0 4" instead of "0 14"
line vty 0 14 transport input ssh end copy running-config startup-configNow you can use SSH client to connect to switch.
No comments:
Post a Comment