Objective

The objective of this document is to show you how to recover and configure the administrator password for Cisco Business 350 series switches.

Introduction

In situations where the administrator password is lost or forgotten, you can manually reset the password through the Command Line Interface (CLI) of the switch. This requires a physical connection to the console port of the device so that the user can power cycle the switch, enter the boot menu, and start the password recovery procedure. This procedure allows the user to login to the device without password authentication.

Applicable Devices | Software Version

- CBS350 (Data Sheet) | 3.1.0.57 (Download latest)

- CBS350-2X (Data Sheet) | 3.1.0.57 (Download latest)

- CBS350-4X (Data Sheet) | 3.1.0.57 (Download latest)

The password recovery procedure is the same for all software versions.  It is not dependent on a specific software version.

Recovering the Network Administrator Password

Step 1. Access the CLI via a local console connection. For more information on how to access the CLI in this manner, please refer to Access the CLI via PuTTY using a Console Connection on Cisco Business 350 Series Managed Switches.

You must have access to the local console connection to recover the administrator password. You cannot recover the administrator password remotely from a Telnet or Secure Shell (SSH) session to the management interface.

Step 2. Power cycle the switch by unplugging the power cord and plugging it back in to the back of the device. After a couple of seconds you should see the Cisco ASCII logo with a prompt to escape the Autoboot loader. Press Return or Esc immediately to enter the Startup Menu.

Power cycle with the console cable and Putty connected. If the device goes into Autoboot sequence, you can reattempt to enter the Startup Menu by power cycling the device again.

The Startup Menu appears:

Step 3. Press 3 to select option [3] Password Recovery Procedure. This will reset the password to null.

Step 4. Press Enter to go back to the Startup Menu, and then press Esc to exit. This will start the Autoboot sequence.

It is important to follow the sequence mentioned in Steps 3 and 4.

Step 5. After the switch has fully booted, you will be in password recovery mode. However, before changing any usernames or passwords, enter the following commands to avoid overwriting the existing configuration on the switch:

Switch#enable

Switch#copy startup-config running-config

In order to use backspace in the CLI, use the arrow keys to highlight the desired character and then hit Backspace to delete the character. You can also hold down Backspace to continuously delete characters to the right of the highlighted cursor.

Step 6. In order to change the administrator password, you must enter configuration mode. To enter configuration mode, enter the following command:

Switch#configuration terminal

Step 7. Enter the following command to change the password of any given user:

Switch(config)#username<new or previous username> privilege 15 password <new password>

Default password complexity settings require that the password contain at least 3 character classes such as a capital letter, a lowercase letter, and a number.

The command in the screenshot above sets the password for username1 to Password1. If username1 does not exist as a user on the switch, a new user account is created.

Step 8. Enter the following commands to exit configuration mode and write to the configuration file.

Switch(config)# exit

Switch# write

Step 9. Enter Y to overwrite the startup configuration file.

Step 10. Enter the following command to reboot the system so that you can log in with your newly configured username and password:

Switch# reload

Step 11. Enter Y to continue.  Your device will then reboot.

Looking for more articles on your CBS350 switch? Check out any of the links below for more information!

IP Address Settings Stack Settings Stacking Mode Selector Stacking Guidelines SSH User Authentication SSH Server Authentication Access CLI with PuTTY Create VLANs Reset Switch

View a video related to this article...

Click here to view other Tech Talks from Cisco