RE: "Refuse-message" command to refuse

From: Brian Dennis (bdennis@internetworkexpert.com)
Date: Sun Sep 24 2006 - 12:12:43 ART


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.



This archive was generated by hypermail 2.1.4 : Sun Oct 01 2006 - 16:55:41 ART