Virtual terminal (VTY) lines enable remote access using Telnet or SSH to the device.
enable
configure terminal
line vty 0 15 (0 4 also possible and sometimes if needed more secure)
password dodovty
login
end
copy running-config startup-config
Encrypt Passwords
enable
configure terminal
service password-encryption
end
copy running-config startup-config
Banner Messages
enable
configure terminal
banner motd #no access for unauthorised persons#
end
copy running-config startup-config
Check if passwords are encrypt and mot configured
enable
show running-config
Name device enable configure terminal hostname Sales end copy running-config startup-config
Configure passwords enable configure terminal line console 0 password dodonetwork login end copy running-config startup-config
privileged EXEC mode access Password enable configure terminal enable secret dodoadmin end copy running-config startup-config
Virtual terminal (VTY) lines enable remote access using Telnet or SSH to the device. enable configure terminal line vty 0 15 (0 4 also possible and sometimes if needed more secure) password dodovty login end copy running-config startup-config
Encrypt Passwords enable configure terminal service password-encryption end copy running-config startup-config
Banner Messages enable configure terminal banner motd #no access for unauthorised persons# end copy running-config startup-config
Check if passwords are encrypt and mot configured enable show running-config