The Security & Setup Preamble
Change to User/Privileged Mode Router> enable
Change to Config Mode Router# configure terminal
Set the Hostname Router (config)# hostname R1
Set enable (Admin) Password R1 (config)# enable secret G00d-Pa$$word (normally not recorded)
Set Daily Banner R1 (config)# banner motd $ Warning Stay out $
Turn on Password encryption R1 (config)# service password-encryption
Configure Console Line R1 (config)# line console 0
Set Console Password R1 (config-line)# password E@$y-P@$$w)rd (normally not recorded)
Apply config to login R1 (config-line)# Login
Notices no Commands Conflict R1 (config-line)# logging synchronous
Configure VTY Lines R1 (config-line)# line vty 0 4
Set VTY Password R1 (config-line)# password n0m!nal-P@$$w)rd (normally not recorded)
Apply config to login R1 (config-line)# Login
Drop one level R1 (config-line)# exit
Disable DNS Lookup R1 (config)# no ip domain-look
All Cisco Routers and Switches
Notice I changed the “Line” here and did not need to exit first
These 2 passwords could be the same
The color coding is significant, take a minute to understand it
The last command was added for this class, it will not be part of the usual preamble