07-27-2021 04:03 AM
Good Day
Please advise i have switches which i have configured SVIs see below command snippet. When i try to access the switches i am not able to ssh or even ping the switches.
interface Vlan1
ip address 192.168.3.205 255.255.255.0
!
!
ip http server
ip http secure-server
ip ssh version 2
!
!
!
line con 0
line vty 0 4
login local
transport input ssh
line vty 5 15
login local
transport input ssh
!
!
end
07-27-2021 04:05 AM
- Did you also generate an RSA key ?
M.
07-27-2021 05:21 AM
Hi Marce
I have generated RSA key problem is all the switches are not reachable via ping.
Regarss
07-27-2021 05:24 AM
yes i have.
07-27-2021 08:27 AM
yes i did
07-27-2021 04:22 AM
even ping the switches.
before get in to SSH connection, Looks like Switch do not have routing entry (like Default gateway or ip route)
Until you are connected to same switch using same IP Address range of 192.168.3.X
what is the device IP address you trying to connect ?
07-27-2021 05:28 AM
192.168.3.205 which is SVI for one of the switch(es).
07-27-2021 05:52 AM
192.168.3.205 which is SVI for one of the switch(es).
This IP belong to the switch you are trying to connect ? may be let me put this way, what is the Source IP address or device IP using here to connect 192.168.3.205 ?
07-27-2021 08:28 AM
the source ip is part of the network 92.168.3.129/24
07-27-2021 08:31 AM
if the source IP is 192.168.3.129 part of the network, it should ping 192.168.3.205 - that is basic requirement before you start ssh to device.
can you post below output from switch (complete )
show run
show ip interface brief
show vlan
07-27-2021 08:35 AM
Also, please let us know what's the management VLAN you're using in the access switches
It looks like you don't have any default gateway configured, before going to SSH check sh IP int brief and see what IP the device is getting, and ping to that and see is it self reachable, and then try to ping to gateway
Please post
SH IP int br
sh cdp nei
sh run
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide