04-05-2023 03:54 PM
Each time i enter the ip routing command it disables my ssh connection . I would have to jump to the switch from another switch.
Any thoughts?
line vty 0 5
login local
transport input ssh
Solved! Go to Solution.
04-05-2023 05:03 PM
What i think here, is whether you enable IP routing here or add any other route command.
I would have to jump to the switch from another switch - << i think you are jumping from another switch and able to login here because both the switches are in the same subnet.
when you are able to log in from a different switch.
then add IP route 0.0.0.0 0.0.0.0 x.x.x.x (next hop IP address)
still issue below config :
show run
show IP route
(what is the IP you trying to connect using SSH? What is the device IP)
and what IP address were you successfully to connecting the switch?
04-05-2023 10:24 PM
Hi,
you most probably have "ip default-gateway" command which works when ip routing is disabled. When "ip routing" is enabled, this command can not help and you should have respective route (default route, for example) in routing table.
Add default route, then enable ip routing.
04-05-2023 03:58 PM
We need totall view of your topogly'
Can you share it?
04-05-2023 05:03 PM
What i think here, is whether you enable IP routing here or add any other route command.
I would have to jump to the switch from another switch - << i think you are jumping from another switch and able to login here because both the switches are in the same subnet.
when you are able to log in from a different switch.
then add IP route 0.0.0.0 0.0.0.0 x.x.x.x (next hop IP address)
still issue below config :
show run
show IP route
(what is the IP you trying to connect using SSH? What is the device IP)
and what IP address were you successfully to connecting the switch?
04-05-2023 10:24 PM
Hi,
you most probably have "ip default-gateway" command which works when ip routing is disabled. When "ip routing" is enabled, this command can not help and you should have respective route (default route, for example) in routing table.
Add default route, then enable ip routing.
04-06-2023 10:53 AM
@balaji.bandi that fix the issue!. Thank you everyone
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