Switches, Hubs, and Modems
cancel
Showing results for 
Search instead for 
Did you mean: 

Cannot close DOS box after Switch telnet session

gurdeep_2
Frequent Advisor

Cannot close DOS box after Switch telnet session

I use Windows XP and telnet to my Fibre switches (SAN switch 2/32, firmware 4.4.0c).
Sometimes, I either timeout in the telnet session or type "exit" and go back to the H:\> prompt. However, at this point I cannot close the dos command window, cannot shutdown or restart my pc. I have to physically power off the system. Can't end-task the command prompt either.

Anybody have any insight as to why this happens?
3 REPLIES
Jasdev Singh
Esteemed Contributor

Re: Cannot close DOS box after Switch telnet session

Hi Gurdeep,

when you go to the your dos promot :

Use this command:

Start->Run->CMD and then you start your telnet session for your switch.

it wont hang again, try this...


jasdev
Jonathan Axford
Trusted Contributor

Re: Cannot close DOS box after Switch telnet session

I have the same problem, very occasionally, Usually when connecting to the Pix Firewall, or when using the PCM+ server to telnet from devices. Just have to switch the PC off!!!

Using the start-Run-CMD method doesn't seem to have any effect for me....
Where there is a will there is a way...
Rich S
Honored Contributor

Re: Cannot close DOS box after Switch telnet session

It souunds like Telnet has captured the exit command.
You should be able to use "quit" to exit Telnet and then at the command prompt type EXIT to close the DOS window.

You could try and encapsulate the command window inside of a batch file. That should allow you might regain some control. At least to close the cmd window.

example:

echo off
cmd
end

You can create the batch file with notpad and save it on your Desltop for testing.

I've done variations of this with other emulation software like 3270.

let me know ....


Rich


Say thanks with POINTS