This section describes how to change the administrator (admin) and Simple Network Management Protocol (SNMP) credentials on all switches.
Note: All Admin and Enable account passwords must be the same for all switches in a scale unit.
Prerequisites
Before you run the procedures:
- Use Remote Desktop to connect to the HLH.
- Locate PuTTY on the HLH, usually E:\Tools\Putty\putty.exe. If PuTTY is not available, download and copy it onto the HLH.
- Ensure that you have both the current and new credentials for the switches.
Updating Admin and Enable account credentials
For each switch in the scale unit (BMC, TOR1, and TOR2):
- On the HLH, using PuTTY, log in to the switch using the current credentials.
- Run the following command, replacing <new password> with your new admin and enable credentials:
enable
configuration terminal
username admin password <new_password> privilege 15
enable password <new_password>
- Leave the current session open to the switch.
- On the HLH, using PuTTY, log in to the switch using the new credentials.
- Run the following command. Enable should not prompt for a password:
enable
write
dir flash:
- Verify that the startup-config has today’s date.
- On confirmation, close both this session and the original session.
Next step
See Updating SSH authentication profile.
Updating SNMP accounts
Procedure
For each switch in the scale unit (BMC, TOR1, and TOR2):
- On the HLH, using PuTTY, log in to the switch.
- Run the following command to obtain the current SNMP read/write users or groups:
enable
show run snmp | grep user
The following example shows the type of content that is returned, including user, group name, and passwords hashes:
snmp-server user <user> <group> 3 encrypted auth sha <password_hash>
- Run the following command, replacing <user> and <group> with the details determined from the previous step, and replacing <password> with your new password:
configuration terminal
snmp-server user <user> <group> 3 auth sha <password_new>
end
write
exit
Next step
See Updating SNMP authentication profile.