03-20-2019 01:45 AM
Hi,
I enabled aaa on catalyst switch, and able to access the switch through vty, but not through console:
Here are sample of my config:
username admin privilege 15 password cisco
!
radius server RADIUS_LDAP_Server
address ipv4 10.10.10.10 auth-port 1812 acct-port 1813
key test
!
aaa group server radius RADIUS_LDAP_Group
server name RADIUS_LDAP_Server
aaa new-model
aaa authentication login default group RADIUS_LDAP_Group local
aaa authorization exec default group RADIUS_LDAP_Group local
aaa authentication enable default enable
aaa session-id common
line con 0
password test-test
stopbits 1
!
line vty 0 4
exec-timeout 0 0
privilege level 15
password test-test
logging synchronous
transport input ssh
At this config, SSH to the switch works with Radius credential. But I cannot access it through console port, I tried both Radius credential and local credential, non of them is working.
Now if I disconnect the switch from the network, I can then access through console port using local credential.
I want to access the switch when it is connected to the network with Radius credential through console port, how can I do that?
Solved! Go to Solution.
03-20-2019 02:01 AM - edited 03-20-2019 02:02 AM
Hi there,
Try deleting the password from the line console. It should then use the default AAA authentication method.
! line con 0 no password
login authentication default !
cheers,
Seb.
03-20-2019 02:01 AM - edited 03-20-2019 02:02 AM
Hi there,
Try deleting the password from the line console. It should then use the default AAA authentication method.
! line con 0 no password
login authentication default !
cheers,
Seb.
03-20-2019 10:49 AM
Thank you very much Seb Rupik,
The issue got solved.
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