05-05-2016 12:37 PM - edited 03-08-2019 05:38 AM
I have enabled below authentication on console 0. Could you please tell which authentication console port will use?
Config is as below
username SA_PAM_01 privilege 15 secret 5 $1$1RYK$BN8mO.rsxb49/Hpr.sInE/
!
aaa authentication password-prompt "No network access use local passwords. Password: "
aaa authentication login default local
aaa authentication login ITVConsole line
aaa authorization console
aaa authorization exec default local
!
line con 0
password 7 06075E36481F04155702
login authntication default
Will it use password defined under console 0 ie type 7 password? Or will it use local username password?
05-05-2016 02:02 PM
It should use the username/password line due to the fact you set AAA as default local so it reverts to local usernam database
05-08-2016 10:16 PM
Thanks Mark Useful info :) When it comes to configuring access level configuration on devices i am bit afraid of loosing acess :) even though we configure routing/swicthing very easily.
Have a good day Mark
05-09-2016 12:40 AM
Yes I think we all worry about locking ourselves out like that working remotely on access and wan fixes, something I always use on my remote sites when working if your not aware of it
reload in 10
so when you make the change and if you get locked out router will automatically reboot in 10 minutes and reset what you just did getting you access back , it does obviously cause a service effecting issue but if its at night or very remote it can save someone a trip to site
if your change worked then do
reload cancel
05-06-2016 02:03 AM
Hello
You have two methods for authentication listings specified - However you don't show if the " ITVConsole" is applied to the console line and if it isn't, Has Mark has stated it will default to the "default local" and as such will use the local database for access.
line console 0
aaa authentication ITVConsole
Also when you use an non default authentication listing I would also apply some authorisation commands to allow you work on the device
aaa authorization commands 0 ITVConsole if-authenticated
aaa authorization commands 1 ITVConsole if-authenticated
aaa authorization commands 15 ITVConsole if-authenticated
An alternative to using AAA for console would be the use the activation-character, Which will allow acces on a given keystroke, I have used character 64 which equals @ keystroke in the past, but you can choose your own. - Here
line console 0
no login authentication
activation-character 64
res
Paul
05-08-2016 10:10 PM
Thanks Paul..Useful Info for me
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide