cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1806
Views
1
Helpful
4
Replies

IP routing command timeout my SSH connection on Cisco 9300

t.ogunwola
Level 1
Level 1

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

2 Accepted Solutions

Accepted Solutions

balaji.bandi
Hall of Fame
Hall of Fame

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?

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

View solution in original post

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.

HTH,
Please rate and mark as an accepted solution if you have found any of the information provided useful.

View solution in original post

4 Replies 4

We need totall view of your topogly'

Can you share it?

balaji.bandi
Hall of Fame
Hall of Fame

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?

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

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.

HTH,
Please rate and mark as an accepted solution if you have found any of the information provided useful.

t.ogunwola
Level 1
Level 1

@balaji.bandi  that fix the issue!. Thank you everyone

Review Cisco Networking for a $25 gift card