Best Practices for Securing Device Access in CCNA
Securing router and switch access involves using SSH over Telnet, configuring strong local passwords, and implementing AAA for centralized authentication.
Securing the VTY Lines
Virtual Teletype (VTY) lines provide remote access. Always configure 'transport input ssh' to mandate encrypted SSH access and disable unencrypted Telnet.
Password Protection
Use 'enable secret' instead of 'enable password' to ensure the privileged EXEC mode password is encrypted with a strong hash (like MD5 or SHA).
Implementing Local Authentication
Require usernames and passwords for line access by configuring 'login local'. This provides better accountability than a single shared password.
❓ Frequently Asked Questions
Why use SSH instead of Telnet?
SSH encrypts the session data, protecting credentials and traffic, whereas Telnet sends data in plaintext.
What is the difference between enable password and enable secret?
Enable secret uses strong encryption for the password, while enable password uses weak or no encryption.
What command configures local authentication on VTY lines?
The 'login local' command.