- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Labels:
-
Network Management
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
Please rate and mark as an accepted solution if you have found any of the information provided useful.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-05-2023 03:58 PM
We need totall view of your topogly'
Can you share it?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
Please rate and mark as an accepted solution if you have found any of the information provided useful.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-06-2023 10:53 AM
@balaji.bandi that fix the issue!. Thank you everyone
