Search Posts

Security

A basic configuration to add users and console/ssh access.

Add a username with secret and privilege:
2960a(config)#username philip secret cisco-philip
2960a(config)#username philip privilege 15

Add console access:
2960a(config)#line console 0
2960a(config-line)#password cisco-console
2960a(config-line)#login

Add SSH access:
2960a(config)#ip domain-name testenv.lan
2960a(config)#crypto key generate rsa
How many bits in the modulus [512]: 2048
2960a(config)#ip ssh version 2
2960a(config)#line vty 0 15
2960a(config-line)#login local
2960a(config-line)#transport input ssh

Service encryption
2960a(config)#service password-encryption