The following commands would create authentication method lists called console_log and console_en and configure the switch to prompt for a username and password when trying to access the console port:
When logging in, you would use the username admin with password xyzzy. If you login using a level 1 account or use the "disable"command, you would use the password enablepass to get to enable mode.
GregG1
2 Intern
•
812 Posts
0
July 20th, 2004 11:00
The following commands would create authentication method lists called console_log and console_en and configure the switch to prompt for a username and password when trying to access the console port:
(config)# username admin password xyzzy level 15
(config)# enable password enablepass
(config)# aaa authentication login console_log local
(config)# aaa authentication enable console_en enable
(config)# line console
(config-line)# login authentication console_log
(config-line)# enable authentication console_en
When logging in, you would use the username admin with password xyzzy. If you login using a level 1 account or use the "disable"command, you would use the password enablepass to get to enable mode.