Tag Archives: basic config

Basic configuration on devices

Basic configuration on devices:

  • set hostname;
  • set secret password;
  • set banner motd;
  • encrypt passwords;
    • line console 0

    • set synchronous logging
    • set idle time
    • set password
    • use login
    • line vty 0 15

    • set password
    • use login
    • set history size

Below you have the commands. The hostname is at the end, because if you want to copy-paste them, you will have to modify the hostname:

enable
conf t
enable secret cisco
banner motd #AUTHORIZED ACCESS ONLY !#
service password-encryption
line console 0
logging synchronous
exec-time 0 0
password cisco
login
history size 256
line vty 0 15
password cisco
login
history size 256
exit
hostname