cisco ios // defining passwords

basics | defaults | fw | init | lacp | passwords | setup | ssh

ssh

create a local database (enables MD5)

username admin secret 0 PASSWORD

power execution mode

power execution mode secret is optional when using serial console, however when you’re gonna use SSH you would get this

>ena
% No password set

so we need to define one

enable secret 0 PASSWORD

serial console

some kind of a screensaver (about exec-timeout)

tune the serial console – no session timeout

line console 0
    exec-timeout 0 0
    logging synchronous

and eventually define a password for it

    login local

additional notes

w/o local database

line ...
    !password PASSWORD
    !login

resources

no shutdown https://community.cisco.com/t5/other-network-architecture/quot-no-keepalive-quot-and-quot-no-shutdown-quot-command-on/td-p/501769

mgmt ip Assigning the Switch IP Address and Default Gateway from the Configuration Guide.

2960S - Password required, but none set https://community.cisco.com/t5/switching/2960s-password-required-but-none-set/td-p/2190151

IP route-cache https://community.cisco.com/t5/routing/ip-route-cache/td-p/880750 https://learningnetwork.cisco.com/thread/21603

Cisco 2950 Switch with crypto IOS image reporting 1MB less Total memory than Switch with non-crypto IOS https://community.cisco.com/t5/switching/cisco-2950-switch-with-crypto-ios-image-reporting-1mb-less-total/td-p/2493215

line vty 0 4 https://learningnetwork.cisco.com/thread/13484

Difference between vty lines 0 4 and 5 15 https://community.cisco.com/t5/other-network-architecture/difference-between-vty-lines-0-4-and-5-15/td-p/567906

Cisco IOS Password Encryption Facts https://www.cisco.com/c/en/us/support/docs/security-vpn/remote-authentication-dial-user-service-radius/107614-64.html

Chapter: Passwords and Privileges Commands https://www.cisco.com/c/en/us/td/docs/ios/12_2/security/command/reference/fsecur_r/srfpass.html

MD5 encrypted passwords with user accounts https://community.cisco.com/t5/network-management/md5-encrypted-passwords-with-user-accounts/td-p/991910

enable secret password - different hash each time for same password ? https://community.cisco.com/t5/switching/enable-secret-password-different-hash-each-time-for-same/td-p/2681851

line console password vs privilege mode enable secret https://community.cisco.com/t5/switching/line-console-password-vs-privilege-mode-enable-secret/td-p/2632214

Cisco IOS Enable Secret Type 5 Password Cracker https://www.ifm.net.nz/cookbooks/cisco-ios-enable-secret-password-cracker.html


https://study-ccna.com/logging-synchronous-command/


HOME | GUIDES | LECTURES | LAB | SMTP HEALTH | HTML5 | CONTACT
Copyright © 2024 Pierre-Philipp Braun