top of page
  • Writer's pictureClifford McGraw Jr.

General Switch/Router Configuration

Updated: Feb 4, 2023

** The commands are written for you to copy into a text editor. The words in all caps are the parameters that you need to fill in with the required info. After you edit the required parameters, copy the commands into the CLI of the device you're working on. **


Below is a cheat sheet for initial set up of a switch or router for SSH.


en
conf t
hostname ENTERHOSTNAMEHERE
ip domain-name ENTERDOMAINNAMEHERE
enable secret ENTERENABLEPASSWORDHERE
line con 0
password ENTERLOGINPASSWORDHERE
logging synchronous
login local
exit
crypto key generate rsa
1024
line vty 0 4
transport input ssh
login local
password 
exit
username ENTERUSERNAMEHERE password ENTERPASSWORDHERE
service password-encryption
end




Comments


bottom of page