From: Oscar Fernandez (oscar@kaos.es)
Date: Thu Oct 19 2006 - 08:23:38 ART
well, there4s a really horrible worarround using autocomand:
line vty 5
no login
autocommand Sorry mate. Line busy
!
Router>150.1.5.5
Trying 150.1.5.5 ... Open
Line has invalid autocommand "Sorry mate. Line busy"
[Connection to 150.1.5.5 closed by foreign host]Deleting login session
I know, it says "Line has invalid autocommand" but it also says Sorry mate.
Line busy" and the question doesn4t say "don4t show "Line has invalid
autocommand"" ;-)
----- Original Message -----
From: "Fabio Rodrigues" <fleandror2@gmail.com>
To: "Brian Dennis" <bdennis@internetworkexpert.com>;
<ccielab@groupstudy.com>
Sent: Sunday, September 24, 2006 5:47 PM
Subject: Re: "Refuse-message" command to refuse
> Hi Brian,
>
> tks very much for the response. The test works. Now..., I'm sorry for the
> insistence, but in the situation that I said below, without rotary command
> and without select just one line, Would have the "refuse-message" command
> shows a message when the router have five incoming telnet sessions opened
> to it and a sixth attempt is in course ?
>
> Tks again.
>
> Fabio.
>
>
> ----- Original Message -----
> From: "Brian Dennis" <bdennis@internetworkexpert.com>
> To: "Fabio Rodrigues" <fleandror2@gmail.com>; <ccielab@groupstudy.com>
> Sent: Sunday, September 24, 2006 12:12 PM
> Subject: RE: "Refuse-message" command to refuse
>
>
>> It may help to configure one VTY line under a rotary group so that
>> particular VTY line will answer to an additional port number on top of
>> port 23 (i.e. rotary 1 = 3001 and 7001). This will make testing easier.
>>
>> Rack1R1#conf t
>> Enter configuration commands, one per line. End with CNTL/Z.
>> Rack1R1(config)#line vty 4
>> Rack1R1(config-line)#rotary 1
>> Rack1R1(config-line)#refuse-message %
>> Enter TEXT message. End with the character '%'.
>>
>> THIS IS MY REFUSE MESSAGE
>>
>> %
>> Rack1R1(config-line)#^Z
>> Rack1R1#
>> %SYS-5-CONFIG_I: Configured from console by console
>> Rack1R1#
>> Rack1R1#telnet 150.1.1.1 7001
>> Trying 150.1.1.1, 7001 ... Open
>>
>> Rack1R1#telnet 150.1.1.1 7001
>> Trying 150.1.1.1, 7001 ... Open
>>
>>
>> THIS IS MY REFUSE MESSAGE
>>
>>
>> [Connection to 150.1.1.1 closed by foreign host]
>> Rack1R1#
>>
>>
>> HTH,
>>
>> Brian Dennis, CCIE #2210 (R&S/ISP-Dial/Security)
>> bdennis@internetworkexpert.com
>>
>> Internetwork Expert, Inc.
>> http://www.InternetworkExpert.com
>> Toll Free: 877-224-8987
>> Direct: 775-745-6404 (Outside the US and Canada)
>>
>>
>>
>> -----Original Message-----
>> From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of
>> Fabio Rodrigues
>> Sent: Sunday, September 24, 2006 7:51 AM
>> To: ccielab@groupstudy.com
>> Subject: "Refuse-message" command to refuse
>>
>> Hi all,
>>
>> I tried to use the "refuse-message" command in Line VTY 0 4, to test the
>> message. I opened 5 sessions from other routers to a same router and,
>> when I
>> tried to open the sixth session I didn't receive the message that I
>> configured. The test is simple like I'm saying.
>>
>> Does anyone knows for what reason this occurs ?
>> Does the purpose of this command is to send a refuse message in this
>> kind of
>> situation, or my understanding about the command isn't ok ?
>>
>> Tks !
>>
>> Fabio.
>>
>> _______________________________________________________________________
>> Subscription information may be found at:
>> http://www.groupstudy.com/list/CCIELab.html
>>
>> _______________________________________________________________________
>> Subscription information may be found at:
>> http://www.groupstudy.com/list/CCIELab.html
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
This archive was generated by hypermail 2.1.4 : Wed Nov 01 2006 - 07:29:06 ART