Cisco CCNA Labs - Password Hardening
Lab Scenario: You are a network administrator tasked with hardening the security of a Cisco router. The router currently has default configurations, and you need to implement strong password policies to protect it from unauthorized access. Password Hardening Script: Cisco CLI enable configure terminal ! Set strong enable password enable secret MyStrongEnablePassword123! ! Set console password line console 0 password MyConsolePassword456! login exec-timeout 10 0 ! Set console timeout to 10 minutes ! Set vty (Telnet/SSH) passwords line vty 0 15 password MyVTYPassword789! login local transport input ssh ! Restrict to SSH only exec-timeout 10 0 ! Set vty timeout to 10 minutes ! Configure local username and secret for SSH access username admin secret MyAdminSecretPasswordABC! ! Disable services that are not needed no ip domain-lookup ! Prevent DNS lookups, which can be a security risk no cdp run ! Disable Cisco Discovery Protocol if not needed no service password-encryption ! Do not use thi...