How to configure a second Cisco switch from another switch?

So, i have two Cisco switches. One is connected to my pc using a serial cable. The second one is connected through a gigabyte cable to the first one. So, basically fa/02 on the first is connected to fa0/2 on the second switch.  fa0/1 one the first one is connected to the internet. My question is how can i configure the second switch through my first switch.
Who is Participating?
Predrag JovicConnect With a Mentor Network EngineerCommented:
I do not use teraterm (but I guess it does not really matter), but I also never restore backup directly from tftp (I like to be on the safe side)...
First you need to have IP address configured on that switch - otherwise tftp will not work
How I typically do it

copy tftp flash
!   I always keep the same file name (so just enter here)

copy flash:switch-confg.txt run
(confirm - enter)
wr mem

I guess your destination filename (restore) is not good :)
Just "enter" there since you are copying it to running config directly.
Also source file name should be most likely just "switch-confg.txt" if that is tftp's root folder (not windows path c:\TFTP-root\....).
from first switch cli type: telnet
where is ip assigned to vlan interface on switch 2
Predrag JovicNetwork EngineerCommented:
Telnet or SSH to switch from other switch (depending on your switch configuration if telnet or SSH are enabled) to:
- Switch Virtual Interface IP address             <-- suggested by SIM50
- routed interface IP address                         <-- if any

telnet <ip_address>
ssh -l <user_name> -p 22 <ip_address>
       -l  <--- means that username is following
      -p <--- is port (by default port 22)
      <user_name> <-- replace with you username
      <ip_address>   <-- replace with one of the switch IP addresses ( interfaces need to be in up up state)

if there is no IP address (or interface(s) with IP address(es) is/are shut), or there is no telnet or SSH configured you will have to use console access.
Get Cisco Certified in IT Security

There’s a high demand for IT security experts and network administrators who can safeguard the data that individuals, corporations, and governments rely on every day. Pursue your B.S. in Network Operations and Security and gain the credentials you need for this high-growth field.

NOC123Author Commented:
can you guy help me with this first. I am soooooo annoyed. Capture.PNG
NOC123Author Commented:
is this normal man?Capture1.PNG
Predrag JovicNetwork EngineerCommented:
You have the same IP address on the two places...
NOC123Author Commented:
This looks good though? Capture1.PNG
Predrag JovicNetwork EngineerCommented:
I guess you restored configuration from some other switch that is still present in the network or some other device have IP address
You need to change IP address to one that is not in use currently or change IP address of the other device. Restoring backup went smoothly.
If that device is still present - change hostname too.
And than save config again.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.