Cisco 2501 - Router - EN Manual do Utilizador Página 27

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 76
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 26
Router and Switch Administrative Configurations
205
% Login disabled on line 1, until 'password' is set
Todd(config-line)#password aux
Todd(config-line)#login
It’s important to remember the login command or the auxiliary port won’t prompt for
authentication.
Notice that Cisco has begun this process of not letting you set the login command before
a password is set on a line because, if you set the login command under a line and then don’t
set a password, the line won’t be usable. And it will prompt for a password that doesn’t exist.
So this is a good thing—a feature, not a hassle!
Definitely remember that although Cisco has this new “password feature” on
its routers starting in its newer IOS (12.2 and above), it’s not in all of its IOSes.
Console Password
To set the console password, use the line console 0 command. But look at what happened
when I tried to type line console 0 ? from the (config-line)# prompt—I received an
error. You can still type line console 0 and it will accept it, but the help screens just don’t
work from that prompt. Type exit to get back one level and you’ll find that your help screens
now work. This is a “feature.” Really.
Here’s the example:
Todd(config-line)#line console ?
% Unrecognized command
Todd(config-line)#exit
Todd(config)#line console ?
<0-0> First Line number
Todd(config-line)#password console
Todd(config-line)#login
Since there’s only one console port, I can only choose line console 0. You can set all your
line passwords to the same password, but for security reasons, I’d recommend that you make
them different.
There are a few other important commands to know for the console port.
For one, the exec-timeout 0 0 command sets the time-out for the console EXEC session
to zero, which basically means to never time out. The default time-out is 10 minutes. (If you’re
feeling mischievous, try this on people at work: Set it to 0 1. That will make the console time out
in 1 second! And to fix it, you have to continually press the down arrow key while changing the
time-out time with your free hand!)
logging synchronous is a very cool command, and it should be a default command, but
it’s not. It stops annoying console messages from popping up and disrupting the input you’re
trying to type. The messages still pop up, but you are returned to your router prompt without
your input interrupted. This makes your input messages oh-so-much easier to read.
47020.book Page 205 Wednesday, January 2, 2008 4:31 PM
Vista de página 26
1 2 ... 22 23 24 25 26 27 28 29 30 31 32 ... 75 76

Comentários a estes Manuais

Sem comentários