Of course. Changing the admin password on an Aruba Access Point via the Command Line Interface (CLI) is a common administrative task.
The exact method depends on whether your AP is a standalone Instant AP (IAP) or a controller-managed AP. I'll cover both scenarios.
Scenario 1: Standalone Aruba Instant AP (IAP) or a Local Controller
This is the most common scenario for small to medium-sized deployments where APs form a virtual cluster without a physical hardware controller. You SSH directly into the Virtual Controller's IP address.
Here is the step-by-step process:
Step 1: Connect to the AP
Connect to your Aruba AP's command line using SSH or a direct console connection. You will need to log in with the current admin username and password.
ssh admin@<ip-address-of-ap>
Step 2: Enter Privileged EXEC Mode
Once logged in, you'll be at the > prompt. You need to enter "enable" mode.
Aruba-AP> enable
Password: <-- Enter the enable password if one is set
Aruba-AP#
Step 3: Enter Configuration Mode
Next, enter the global configuration mode.
Aruba-AP# configure terminal
You can also use the shorthand conf t. Your prompt will change to (config).
Aruba-AP(config)#
Step 4: Change the Admin Password
Use the username command to set the new password. The plaintext keyword indicates you are typing the password in clear text.
Aruba-AP(config)# username admin password plaintext YourNewStrongPassword
Replace YourNewStrongPassword with the actual password you want to set. It is highly recommended to use a strong, complex password.
Step 5: Save the Configuration
This is a critical step. Changes are not permanent until you save them to memory. If the AP reboots before you save, the old password will still be active.
Aruba-AP(config)# end
Aruba-AP# write memory
Alternatively, you can just use write memory from the config prompt.
Step 6: Exit
You can now log out of the session.
Aruba-AP# exit
Your new password is now active. You will need to use it the next time you log in.
Complete Example (Standalone IAP)
# Log in via SSH
ssh admin@192.168.1.10
# Enter enable mode
Aruba-AP> enable
# Enter configuration mode
Aruba-AP# configure terminal
# Change the admin password
Aruba-AP(config)# username admin password plaintext P@ssw0rd!2024
# Exit configuration mode
Aruba-AP(config)# end
# Save the changes to make them permanent
Aruba-AP# write memory
Saving Configuration...
Configuration Saved.
# Log out
Aruba-AP# exit
Scenario 2: Controller-Managed AP (Campus AP)
If your Access Point is managed by a central Aruba Mobility Controller (or Mobility Conductor), you cannot change the password on the AP itself. These are "thin" APs that pull their entire configuration from the controller.
In this case, you must change the management user password on the Mobility Controller, and the change will apply to all devices managed by it.
The commands on the controller's CLI are the same, but you perform them on the controller, not the AP.
- SSH into your Aruba Mobility Controller.
- Follow the exact same CLI steps as in Scenario 1.
# On the Mobility Controller
My-Controller# configure terminal
My-Controller(config)# username admin password plaintext YourNewStrongPassword
My-Controller(config)# end
My-Controller# write memory
This updates the admin account for managing the controller itself. Access to the individual AP's CLI (AP-level debugging) is typically controlled by a different setting (ap system-profile) and may use a separate password or certificate-based authentication.