Cisco IOS Router Manual do Utilizador Página 10

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 16
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 9
The Cisco IOS v1.22 – Aaron Balchunas
* * *
All original material copyright © 2007 by
Aaron Balchunas (aaron@routeralley.com),
unless otherwise noted. All other material copyright © of their respective owners.
This material may be copied and used freely, but may not be altered or sold without the expressed written
consent of the owner of the above copyright. Updated material may be found at http://www.routeralley.com.
10
Enable Passwords
The enable password protects a router’s Privileged mode. This password can
be set or changed from Global Configuration mode:
Router(config)# enable password MYPASSWORD
Router(config)# enable secret MYPASSWORD2
The enable password command sets an unencrypted password intended for
legacy systems that do not support encryption. It is no longer widely used.
The enable secret command sets an MD5-hashed password, and thus is far
more secure. The enable password and enable secret passwords cannot be
identical. The router will not accept identical passwords for these two
commands.
Line Passwords and Configuration
Passwords can additionally be configured on router lines, such as telnet
(vty), console, and auxiliary ports. To change the password for a console
port and all telnet ports:
Router(config)# line console 0
Router(config-line)# login
Router(config-line)# password cisco1234
Router(config-line)# exec-timeout 0 0
Router(config-line)# logging synchronous
Router(config)# line vty 0 4
Router(config-line)# login
Router(config-line)# password cisco1234
Router(config-line)# exec-timeout 0 0
Router(config-line)# logging synchronous
The exec-timeout 0 0 command is optional, and disables the automatic
timeout of your connection. The two zeroes represent the timeout value in
minutes and seconds, respectively. Thus, to set a timeout for 2 minutes and
30 seconds:
Router(config-line)# exec-timeout 2 30
The logging synchronous command is also optional, and prevents system
messages from interrupting your command prompt.
By default, line passwords are stored in clear-text in configuration files. To
ensure these passwords are encrypted in all configuration files:
Router(config)# service password–encryption
Vista de página 9
1 2 ... 5 6 7 8 9 10 11 12 13 14 15 16

Comentários a estes Manuais

Sem comentários