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




1 Comment


san10001guide
Sep 24

Working through switch and router configuration shows why having the correct access steps matters. To Log into 10.0.0.1, connect to the router’s network, enter the address in a browser, then provide the administrator username and password to open its settings.

Like

©2022 by Clifford McGraw

bottom of page