05-07-2025 12:48 PM
Hi All,
Have an issue configuring a cisco C8200-1N-4Twith IOS-XE 17.06.06a for local console login with no external servers. I have use the following commands but still can not authenticate.
aaa new-model
!
!
aaa authentication login default local
aaa authorization exec default local
aaa authorization network default local
username WMS-RTR-Admin privilege 15 password 7 10631F1811001C5F0E4C1E0907113B270653
enable secret 9 $9$nQo1zgfAtxeaDE$rPXZbytNTplMq95VmA1stMSWYFJ4It2d8O6UYRzdUVI
Can't see what I'm doing wrong, please point me in the right direction.
Thank you
Solved! Go to Solution.
05-08-2025 05:24 AM
OK, so by default this command is written.
What is the symptom when you try to connect via console port ?
05-08-2025 07:19 AM
05-07-2025 01:00 PM
Hello @dflowers
Add this under line con 0:
login authentication default
Please share line con 0 config.
05-07-2025 01:05 PM
Hello I added that statement but still was not successful, I will add it back to the configuration. When I do add that statement back into the configuration, it does not appear when I do show config
line con 0
exec-timeout 0 0
stopbits 1
05-08-2025 05:24 AM
OK, so by default this command is written.
What is the symptom when you try to connect via console port ?
05-08-2025 07:19 AM
05-08-2025 02:53 AM
Hello @dflowers,
the config snipet you posted looks good, nothing obviously wrong.
Are you prompted for username/password repeatedly when you try to connect via console?
Can you ssh into your device?
If yes, then open a terminal via ssh and enter the commands "terminal monitor", "debug aaa authentication" and "debug aaa authorization" in privileged mode. Try to login via console and post the debug output.
05-08-2025 06:56 AM
Add
Login authc defualt
Exec authz defualt
Under console and check
MHM
05-08-2025 07:06 AM
05-08-2025 07:12 AM
authorization exec default <<- correct command' add it under console
Try Use show run all to see command add under console
MHM
05-08-2025 07:29 AM
05-08-2025 12:01 PM
It seems to me that there are two possible issues here: 1) problem with authentication 2) problem with authorization. I strongly suspect that the issue is about authorization. So my suggestion is to remove the authorization commands (leaving only the authentication command). If you are then able to login, then we know to focus on authorization configuration. If it still does not work then we can focus on the authentication commands.
05-08-2025 12:14 PM
05-08-2025 12:18 PM
Did you have a chance to collect the debug output as suggested above?
In case that you are not familiar with debug commands, then this is what you need to do:
Based on the output we should be able to narrow down what is going on.
HTH!
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