cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Bookmark
|
Subscribe
|
13048
Views
11
Helpful
7
Replies

How to break/escape a telnet/ssh session from NX OS nexus?

Gerth Rauseo
Level 1
Level 1

Is there any break/escape key sequence from a telnet/ssh session from a Cisco Nexus to another device?

I know on IOS and IOS XE we can use ""Ctrl+Shift+6" to break a telnet/ssh session and get back to the device, but I can't find a method to to the same from Nexus OS. I already tried "Ctrl+C", "Ctrl+[" and several other key combinations without success.

Also, is there something equivalent to "show session" and "clear session X" on NX OS?

7 Replies 7

Reza Sharifi
Hall of Fame
Hall of Fame

Just type "exit" to disconnect the session

HTH

 

I guess I didn't make my question clear enough.

There are cases when you get stuck on a telnet/ssh sessions (for example, when changing the IP address on the direct link on the remote device), and you have to go back to the local device to manually kill the connection.

On a Cisco IOS devices, this is done by the well know break sequence "crtl+swift+6", and then using "show session" to find out the ssh/telnet session you want to kill. You can also go back to your last sh/telnet session by hitting enter. I just wanted to know if NX OS support this functionality.

control c

ajoseph_army
Level 1
Level 1

Did you ever discover whether this is possible? I also have the same issue with my NXOS devices. It is annoying

No direct escape sequence but shift-ctrl-x brings up a dcos prompt and menu

<Nexus 7k># telnet 172.28.240.34
Trying 172.28.240.34...
Connected to 172.28.240.34.
Escape character is '^]'.

Switch 2>

shift-ctrl-x

dcos-telnet> c
Connection closed.
<Nexus 7k>#

? gives other options as well

shshukl2
Cisco Employee
Cisco Employee

you can try with Ctrl+] and then Q and hit Enter.