Avatar of NOC123
NOC123
 asked on

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.
CiscoSwitches / Hubs

Avatar of undefined
Last Comment
Predrag Jovic

8/22/2022 - Mon
SIM50

from first switch cli type: telnet 192.168.1.2
where 192.168.1.2 is ip assigned to vlan interface on switch 2
Predrag Jovic

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

ASKER
can you guy help me with this first. I am soooooo annoyed. Capture.PNG
This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.
rwheeler23
ASKER CERTIFIED SOLUTION
Predrag Jovic

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
NOC123

ASKER
is this normal man?Capture1.PNG
Predrag Jovic

Nop...
You have the same IP address on the two places...
NOC123

ASKER
This looks good though? Capture1.PNG
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
Predrag Jovic

I guess you restored configuration from some other switch that is still present in the network or some other device have IP address 192.168.7.252
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.