cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3005
Views
5
Helpful
2
Replies

unable to access the switch through Console after enabling AAA

mohammed hashim
Level 1
Level 1

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?

1 Accepted Solution

Accepted Solutions

Seb Rupik
VIP Alumni
VIP Alumni

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.

 

View solution in original post

2 Replies 2

Seb Rupik
VIP Alumni
VIP Alumni

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.

 

Thank you very much Seb Rupik,

 

The issue got solved.

Review Cisco Networking for a $25 gift card