Tuesday, December 8, 2009

Dell Powerconnect M6220 Default password

So in the process of trying to configure the networking on your dell blades to support LAG groups, I screwed up the service console port. This made all ESX hosts unable to be reached. Trying to edit the group and get back to simple default config wasn't working and I figured it was easier to restore to factory default.

On the M6220 switch I ran the clear config command which blew away everything and my ESX hosts were much happier. Unfortunately I was unable to connect to the switch and nowhere on the web could I find the username and password information. It ended up that this is because it deletes the users, including the root username and password. You also will not be able to reset the password back to what it came as from dell because their password is less then 8 characters

Solution:

After a quick call to support we have the solution, you need to access the cmc from either a telnet or SSH session. You may have to enable telnet if you want to use that; it was turned off by default on our system. You will login to a $ prompt.

Type connect switch-# where our number was 1 because we were working with fabric A1.
This will bring you into the switch where you can escalate to enable mode with en.
To recreate the root account go into config mode and run a username root password {password} level 15.
Be sure to exit out of config and copy your running configuration to the startup config so you do lose the username again. You should now be back in business.

No comments:

Post a Comment