Site icon eConfigs

CCNA 6.5: Configure, verify, and troubleshoot basic device hardening

Overview:

Basic device hardening consists of setting user authentication passwords, enable passwords, restricting access to the device through telnet/SSH and displaying login banners.

 

Study Notes:

Command Mode
Access Method
Prompt
Exit Method

User EXEC

Log in

Router>

Use the logout command.

Privileged EXEC

From user EXEC mode, use the enable EXEC command

Router#

To return to user EXEC mode, use the disable command

Global configuration

From privileged EXEC mode, use the configure terminal privileged EXEC command

Router(config)#

To return to privileged EXEC mode from global configuration mode, use the exit or end command, or press Ctrl-Z

Interface configuration

From global configuration mode, specify an interface using an interface command

Router(config-if)#

To return to global configuration mode, use the exit command

To return to privileged EXEC mode, use the end command, or press Ctrl-Z

ROM monitor

From privileged EXEC mode, use the reload EXEC command. Press the Break key during the first 60 seconds while the system is booting

>

To exit ROM monitor mode, use the continue command

 

6.5.a Local authentication

Router(config)#username [username] password [password]
Router(config)#aaa new-model
Router(config)#aaa authentication login default local

 

6.5.b Secure password

Router(config)#enable password [password]
Router(config)#enable secret [password]

 

6.5.c Access to device

6.5.c (i) Source address

Router(config)#access-list 10 permit 192.168.10.10 0.0.0.0
Router(config)#access-list 10 deny any
Router(config)#line vty 0 4
Router(config-line)#access-class 10 in

 

6.5.c (ii) Telnet/SSH

 

6.5.d Login banner

Router1(config)#banner login ?
  LINE  c banner-text c, where 'c' is a delimiting character
Router1(config)#banner login %this is the login banner%
Router1(config)#exit
Router1#exit
Enter

this is the login banner

User Access Verification

Username: 

 

PacketTracer Lab: CCNA-6.5-Configure-verify-and-troubleshoot-basic-device-hardening.pkt

Subscribe Now for access to the labs!

Exit mobile version