2. Authentication - metrafonic/Cisco-Cheatsheet GitHub Wiki
Enable Secret:
The user will be prompted to enter this password when entering enable mode
(config)# enable secret [newsecret]
Set password for vty & comm-port login:
VTY:
> enable
# configure terminal
Allow 16 different connections (0 to 16)
(config)# line vty 0 15
(config-line)# login local
Alternativly one universal password (not reccomended):
(config-line)# login password [newpass]
(config-line)# exit
COM-PORT:
> enable
# configure terminal
(config)# line con 0
(config-line)# login local
(config-line)# exit
Add the local user:
(config)# username admin secret [newpasswd]
(config)# exit
Save Config:
# copy running-config startup-config
# show startup-config