RE: BUSY-MESSAGE

From: Jonathan V Hays (jhays@jtan.com)
Date: Mon Jul 21 2003 - 18:11:55 GMT-3


Hi Purush,

The command "busy-message" is for VTY lines and "refuse-message" is for
TTY lines.

Neither the config guide nor the command reference are crystal clear -
you have to read between the lines. The description for "busy-message"
specifically uses the word "telnet" and that for "refuse-message" does
not.

http://www.cisco.com/univercd/cc/td/doc/product/software/ios122/122cgcr/
ffun_c/ffcprt1/fcf004.htm#1017783

Below is an example of "refuse-message" on my 2511 access server. I have
a live reverse telnet session already open on line 3 and when I try
connecting again the refuse message is displayed.

==========
!
hostname tsrv
!
ip host r2521 2001 1.3.5.7
ip host r2523 2002 1.3.5.7
ip host r2514 2003 1.3.5.7
ip host r2503a 2004 1.3.5.7
ip host r2503b 2005 1.3.5.7
ip host r2503c 2006 1.3.5.7
ip host r2501a 2007 1.3.5.7
ip host r2501b 2008 1.3.5.7
!
line 1 16
 refuse-message ^C
Line in use - please try again later - MUCH later
^C
 no exec
 transport input all
!
end
==========

tsrv#telnet 1.3.5.7 2003
Trying 1.3.5.7, 2003 ... Open

Line in use - please try again later - MUCH later

[Connection to 1.3.5.7 closed by foreign host]
tsrv#sh line
   Tty Typ Tx/Rx A Modem Roty AccO AccI Uses Noise Overruns
Int
* 0 CTY - - - - - 8 0 0/0
-
     1 TTY 9600/9600 - - - - - 0 0 0/0
-
     2 TTY 9600/9600 - - - - - 0 0 0/0
-
* 3 TTY 9600/9600 - - - - - 1 1 0/0
-
     4 TTY 9600/9600 - - - - - 0 0 0/0
-
     5 TTY 9600/9600 - - - - - 0 0 0/0
-
     6 TTY 9600/9600 - - - - - 0 0 0/0
-
     7 TTY 9600/9600 - - - - - 0 0 0/0
-
     8 TTY 9600/9600 - - - - - 0 0 0/0
-
     9 TTY 9600/9600 - - - - - 0 0 0/0
-
    10 TTY 9600/9600 - - - - - 0 0 0/0
-
    11 TTY 9600/9600 - - - - - 0 0 0/0
-
    12 TTY 9600/9600 - - - - - 0 0 0/0
-
    13 TTY 9600/9600 - - - - - 0 0 0/0
-
    14 TTY 9600/9600 - - - - - 0 0 0/0
-
    15 TTY 9600/9600 - - - - - 0 0 0/0
-
    16 TTY 9600/9600 - - - - - 0 0 0/0
-
    17 AUX 9600/9600 - - - - - 0 0 0/0
-
    18 VTY - - - - - 2 0 0/0
-
    19 VTY - - - - - 0 0 0/0
-
    20 VTY - - - - - 0 0 0/0
-
    21 VTY - - - - - 0 0 0/0
-
   Tty Typ Tx/Rx A Modem Roty AccO AccI Uses Noise Overruns
Int

    22 VTY - - - - - 0 0 0/0
-

tsrv#

HTH,

Jonathan

-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of
Nammalwar, Purush
Sent: Monday, July 21, 2003 4:18 PM
To: 'Jonathan V Hays'; 'ccielab@groupstudy.com'
Subject: RE: BUSY-MESSAGE

On router R1 -->
Ip host R2 172.16.123.2
!
busy-message R2 ^C
Sorry, the line is busy
^C
!
line vty 0 4
no login
refuse-message ^C
This is a test for refuse message
^C
!
End

I tried opening 5 telnet sessions from R2.
The 6th one should have spelt out my 'refuse-message'. But it didn't. I
just
got the standard message "connection refused by remote host".
Wondering, how I am supposed to configure and use the "refuse-message"
feature.
(Note - The busy-message works fine. No problem. It's the refuse-message
I
am having problem with. The busy-message question was posted by someone
else. Not me).

Purush

-----Original Message-----
From: Jonathan V Hays [mailto:jhays@jtan.com]
Sent: Monday, July 21, 2003 4:06 PM
To: 'Nammalwar, Purush'
Subject: RE: BUSY-MESSAGE

Please post your complete configurations.

-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of
Nammalwar, Purush
Sent: Monday, July 21, 2003 3:58 PM
To: ccielab@groupstudy.com
Subject: RE: BUSY-MESSAGE

Yes, when used with the Name versus IP, it works.
Does any one know how the "refuse-message" command work ?
It doesn't do anything when I tried.
I must be doing something wrong.

Purush

-----Original Message-----
From: Michael Needham (mineedha) [mailto:mineedha@cisco.com]
Sent: Sunday, July 20, 2003 11:15 PM
To: 'Michael Needham (mineedha)'; ccielab@groupstudy.com
Subject: RE: BUSY-MESSAGE

I guess you must always apply a name to an ip-host prior and telnet via
the
name..... Seems to work

-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of
Michael Needham (mineedha)
Sent: Sunday, July 20, 2003 11:11 PM
To: ccielab@groupstudy.com
Subject: BUSY-MESSAGE

I am going insane trying to get the router to take this command... What
is
the proper syntax to have the router diplay a message if a telnet
fails? I have read the doc. But I am doing something incorrect :(



This archive was generated by hypermail 2.1.4 : Wed Aug 06 2003 - 06:52:48 GMT-3