Справочник Пользователя для Asante Technologies 35516

Скачать
Страница из 77
 
30 
3.9 Passwords and Privileges Commands 
 
The following sections describe the password and privileges commands used to control access to different 
levels of the router: 
 
•  enable password 
•  password 
•  service password-encryption 
 
3.9.1 Enable Password 
 
To set a local password to control access to various privilege levels, use the enable password command in 
global configuration mode. Use the no form of this command to remove the password requirement. 
 
Router(config)# enable password ? 
  0     Specifies an UNENCRYPTED password will follow 
  7     Specifies a HIDDEN password will follow 
  LINE  The UNENCRYPTED (cleartext) 'enable' password 
Router(config)# enable password 0 <password> 
Router(config)# exit 
Router# write [memory ‌ file] 
 
3.9.2 Password 
 
To specify a password on a line, use the password command in line configuration mode. Use the no form 
of this command to remove the password. 
 
Router(config)# line ? 
  console  Primary terminal line 
  vty      Virtual terminal 
Router(config)# line console ? 
  <0-0>  Line number 
Router(config)# line console 0 
Router(config-line)# ? 
  end           End current mode and change to enable mode 
  exec-timeout  Set timeout value 
  exit          Exit current mode and down to previous mode 
  help          Description of the interactive help system 
  no            Negate a command or set its defaults 
  password      Set a password 
  quit          Exit current mode and down to previous mode 
Router(config-line)# password ? 
  LINE  The UNENCRYPTED (cleartext) line password 
  0     Specifies an UNENCRYPTED line password will follow 
  7     Specifies a HIDDEN line password will follow 
Router(config-line)# password Asante 
Router(config-line)# end 
Router# write ? 
  file      Write to configuration file 
  memory    Write configuration to the file (same as write file) 
  terminal  Write to terminal 
Router# write file 
Writing current-config to startup-config, Please wait... 
Configuration saved to startup-config file 
Router#