top of page

General Switch/Router Configuration

  • Writer: Clifford McGraw Jr.
    Clifford McGraw Jr.
  • Feb 3, 2023
  • 1 min read

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




Recent Posts

See All
Configuring Phones in Packet Tracer

** 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...

 
 
 

Comments


©2022 by Clifford McGraw

bottom of page