cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
669
Views
0
Helpful
5
Replies

How to disconnect and logout from console session using modem

Does anyone know how to logout and clear PSTN session when we login via US Robotics modem?

PC ---- US robotics modem ----PSTN line ----- US Robotics ------ C1111 Router

The above is the network diagramu.

I could login to C1111 router through the modem, but i dont know how to clear PSTN session.


I gave " exit" command, username/Password prompt is shown up again and again.

====================
C1111#exit

User Access Verification

Username:

====================

Also, "clear line 0" commad did not work.

====================

C1111#clear line 0
% Not allowed to clear current line [OK]
C1111#

====================

 

 

5 Replies 5

Ruben Cocheno
Spotlight
Spotlight

@yutashimamura2920 

if you login via dialer, either kill the console session or clear dialer sessions to kill all sessions

Tag me to follow up.
Please mark it as Helpful and/or Solution Accepted if that is the case. Thanks for making Engineering easy again.
Connect with me for more on Linkedin https://www.linkedin.com/in/rubencocheno/

@Ruben Cocheno 
Thank you for your prompt response.
I tried but it did not work.. Username and Password prompt was shown up again.

C1111#clear dialer sessions
C1111#
C1111#
C1111#exi
C1111#exit

User Access Verification

Username: admin
Password:

C1111#

What is the command for "kill the console session "?

liviu.gheorghe
Spotlight
Spotlight

Hello @yutashimamura2920 ,

the problem with the modem attached to the console line is that you cannot configure modem control on the console line and as long as the two modems are connected, you will always have access to the console line. The only possibility is to hangup the modem from the remote site.

Now, if you were to connect the modem to the AUX line, you can configure on this line modem control:

device(config-line)#modem dialin

this gives you the possibility to hangup the modem when you issue the clear line aux 0 command.

For a complete functional config you will also need the following line commands:

exec

databits 8

stopbits 1

parity none

speed 9600

 

Regards, LG
*** Please Rate All Helpful Responses ***

Hi Guys!

Thank you for your comment!
I could log out by the command "+++" successfully!
Appreciate your support!

liviu.gheorghe
Spotlight
Spotlight


Re. I could log out by the command "+++" successfully!

The "+++" modem command switches the modem from data mode to command mode which causes the modem to drop the Data Terminal Ready (DTR) signal  which results in modem hangup.

Regards, LG
*** Please Rate All Helpful Responses ***