Developer Community

Reply
Highlighted
Occasional Contributor II

Enable username setup on Ansible

Hello,

 

I am working to push the configuration from ansible to switches that already had radius and aaa configuration,

My ansible doesn't have an issue to login with login username, but I can't log in to enable username and password.

 

Do you have any solution for this situation?

Highlighted
MVP Guru Elite

Re: Enable username setup on Ansible

Hi,

 

What switch and model ? (and firmware)

 

What your configuration ? (for AAA)



PowerArubaSW: Powershell Module to use Aruba Switch API for Vlan, VlanPorts, LACP, LLDP... More info

PowerArubaCP: Powershell Module to use ClearPass API (create NAD, Guest...) More info

PowerArubaCX: Powershell Module to use ArubaCX API (get interface/vlan/ports info)

PowerArubaIAP: Powershell Module to use Aruba Instant AP

PowerArubaMC: Powershell Module to use Mobility Controller / Master


ACMP 6.4 / ACMX #107 / ACCP 6.5 / ACSP
Highlighted
Occasional Contributor II

Re: Enable username setup on Ansible

Switch 5412Rzl2

 

radius-server host xxxxxxxxxxxx encrypted-key "xxxxxxxxxx"
ip source-interface radius xxxxxxxx
aaa authentication console login radius local
aaa authentication web login radius local
aaa authentication web enable radius local
aaa authentication ssh login radius local
aaa authentication ssh enable radius local

Highlighted
MVP Guru Elite

Re: Enable username setup on Ansible

What firmware ?

 

because there is also

aaa authentication rest login radius local with last 16.08.00x firmware (if remember)



PowerArubaSW: Powershell Module to use Aruba Switch API for Vlan, VlanPorts, LACP, LLDP... More info

PowerArubaCP: Powershell Module to use ClearPass API (create NAD, Guest...) More info

PowerArubaCX: Powershell Module to use ArubaCX API (get interface/vlan/ports info)

PowerArubaIAP: Powershell Module to use Aruba Instant AP

PowerArubaMC: Powershell Module to use Mobility Controller / Master


ACMP 6.4 / ACMX #107 / ACCP 6.5 / ACSP
Highlighted
Occasional Contributor II

Re: Enable username setup on Ansible

Highlighted
MVP Guru Elite

Re: Enable username setup on Ansible

do you have try to add aaa authentication rest login radius local ?



PowerArubaSW: Powershell Module to use Aruba Switch API for Vlan, VlanPorts, LACP, LLDP... More info

PowerArubaCP: Powershell Module to use ClearPass API (create NAD, Guest...) More info

PowerArubaCX: Powershell Module to use ArubaCX API (get interface/vlan/ports info)

PowerArubaIAP: Powershell Module to use Aruba Instant AP

PowerArubaMC: Powershell Module to use Mobility Controller / Master


ACMP 6.4 / ACMX #107 / ACCP 6.5 / ACSP