RE: limiting the inactivity period under vty lines

From: Mohammed El-Komy \(moelkomy\) (moelkomy@cisco.com)
Date: Sun Sep 11 2005 - 17:34:55 GMT-3


Brian,

I've already tried those commands before; I'm not asking for the sake of
real life cause I know their effects....I'm asking for lab purpose to
get the more accurate answer based on the wording of the question.

But if both of them fulfill the task wording, that would be fine cause
sometimes I feel that more than one command can do the task but the task
wording carries a hidden meaning to make you fulfill it with a certain
command.

Regards,
-------------------------------------------------------------------

 

Mohamed ElKomy

Cisco Systems, Systems Engineer

 

Office: +2024885300

GSM: +20121022297

FAX: +2024885400

moelkomy@cisco.com

-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of
Brian Dennis
Sent: Sunday, September 11, 2005 11:22 PM
To: Mohammed El-Komy (moelkomy); ccielab@groupstudy.com
Subject: RE: limiting the inactivity period under vty lines

Mohamed,
        Don't take this the wrong way but you'll learn far more by just
doing tasks like this over relying on someone's answer. You just need
one router and about 10 minutes to lab both of these up.

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
Mohammed El-Komy (moelkomy)
Sent: Sunday, September 11, 2005 12:47 PM
To: ccielab@groupstudy.com
Subject: limiting the inactivity period under vty lines

Guys,

1- If I need for example to limit the telnet user to be disconnected
after 5 minutes of inactivity, shall I use

Line vty 0 4

 Exec-timeout 5

or

Line vty 0 4

 Session-timeout 5

Is there a difference or do both of them fulfill the task?

2- If I need a banner message to be displayed to telnet users that says
"Access to Network is prohibited", shall I use

Banner login "...."

Or

Banner motd "...."

Which of them is more accurate in such a case?

Regards,

-------------------------------------------------------------------

Mohamed ElKomy

Cisco Systems, Systems Engineer

Office: +2024885300

GSM: +20121022297

FAX: +2024885400

moelkomy@cisco.com



This archive was generated by hypermail 2.1.4 : Sun Oct 02 2005 - 14:40:14 GMT-3