To update the admin password on an Aruba Access Point (AP) via the CLI, follow the steps below. This guide assumes the AP is standalone (not managed by a controller). If it’s managed by a controller, the password is typically set there.
Important Notes
ArubaOS (Legacy CLI): Older APs (e.g., 6xx, 7xx series) use ArubaOS with a legacy CLI.
ArubaOS-CX (Modern CLI): Newer APs (e.g., 6300, 6400 series) use ArubaOS-CX, which has a different CLI structure.
Admin vs. Enable Password: The admin user is for login, while the enable password grants privileged (config) access.
Step-by-Step Guide
For ArubaOS (Legacy CLI)
bash
# 1. Connect via SSH/Telnet/Console
> enable
# Enter current enable password (default: admin)
# 2. Enter config mode
# ArubaOS typically starts in config mode after enable
(Aruba) #configure terminal
# 3. Update admin password
(Aruba) (config) #set user admin password <new_password>
# Example:
(Aruba) (config) #set user admin password MyNewPass123
# 4. Save configuration
(Aruba) (config) #write memory
For ArubaOS-CX (Modern CLI)
bash
# 1. Connect via SSH/Telnet/Console
> enable
# Enter current enable password (default: admin)
# 2. Enter config mode
# ArubaOS-CX uses hierarchical config modes
(Aruba-CX) #configure terminal
# 3. Navigate to local user database
(Aruba-CX) (config) #aaa authentication local-userdb
# 4. Update admin password
(Aruba-CX) (config-aaa-local-userdb) #user admin password <new_password>
# Example:
(Aruba-CX) (config-aaa-local-userdb) #user admin password MyNewPass123
# 5. Save configuration
(Aruba-CX) #write memory
Verify the Change
Test the new password by logging out and back in:
bash
(Aruba/CX) #exit
Common Issues
Incorrect OS Version:
If the AP runs ArubaOS-CX, the set user admin password command will fail. Use the aaa authentication local-userdb path instead.
Enable Password Forgotten:
If you lose the enable password, perform a password recovery via the console.
Password Complexity:
Use strong passwords with uppercase, lowercase, numbers, and symbols.