Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

stopping remote telnet, and add timeout

Status
Not open for further replies.
Joined
Jul 27, 2004
Messages
397
Location
US
I am really new to the router thing so these questions aren't two in depth.

I need to stop all telnetting to my perimiter router, I only want to allow my local subnet or maybe one computer to be able to access the router through telnet. How do I do that?

I need some clarification on exec timeout. I want to add timeouts to my connnections. I looked up some info and it shows two numbers such as:exec timeout 0 10, what does the first number and the second number mean?

TIA

Network Admin
A+, Network+, MCSA 2000, MCSE 2000
 
!
conf t
ip access-list standard 10
permit host a.b.c.d
permit host e.f.g.0 0.0.0.255
!
line vty 0 15
access-class 10 in
!
end
!

This allows inbound telnet sessions from the host a.b.c.d and hosts in the subnet e.f.g.0/24.

router(config-line)#exec-timeout ?
<0-35791> Timeout in minutes

router(config-line)#exec-timeout 10 ?
<0-2147483> Timeout in seconds
<cr>

router(config-line)#exec-timeout 10 10 ?
<cr>

So as you can see "exec-timeout 10 10" means a timeout value set to 10 mins and 10 secs.
 
Awesome dude, I will give it a try.

Thanks

Network Admin
A+, Network+, MCSA 2000, MCSE 2000
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top