206
Chapter 4
"
Introduction to the Cisco IOS and SDM
Here’s an example of how to configure both commands:
Todd(config-line)#line con 0
Todd(config-line)#exec-timeout ?
<0-35791> Timeout in minutes
Todd(config-line)#exec-timeout 0 ?
<0-2147483> Timeout in seconds
<cr>
Todd(config-line)#exec-timeout 0 0
Todd(config-line)#logging synchronous
You can set the console to go from never timing out (0 0) to timing out in
35,791 minutes and 2,147,483 seconds. The default is 10 minutes.
Telnet Password
To set the user-mode password for Telnet access into the router, use the line vty command.
Routers that aren’t running the Enterprise edition of the Cisco IOS default to five VTY lines,
0 through 4. But if you have the Enterprise edition, you’ll have significantly more. The best
way to find out how many lines you have is to use that question mark:
Todd(config-line)#line vty 0 ?
% Unrecognized command
Todd(config-line)#exit
Todd(config)#line vty 0 ?
<1-1180> Last Line number
<cr>
Todd(config)#line vty 0 1180
Todd(config-line)#password telnet
Todd(config-line)#login
Remember, you cannot get help from your (config-line)# prompt. You must go back to
privileged mode in order to use the question mark (?).
You may or may not have to set the login command before the password
on the VTY lines—it depends on the IOS version. The result is the same
either way.
47020.book Page 206 Wednesday, January 2, 2008 4:31 PM
Comentários a estes Manuais