Cisco Switch Firmware - Password Bypass
Cisco switches at factory default ask the user to change the login username and password on first connection. On older firmware, this process could be bypassed to leave the default settings of cisco/cisco.
Newer Cisco firmware has removed the ability to bypass, and now require the user to set a new username and password before allowing further configuration.
JADConfig v184.108.40.206 cannot currently bypass this prompt. You will need to apply either the webUI or CLI fix below before running JADConfig.
- Cisco SG300/SG500/SG500X
- Firmware v1.4.5.02 and earlier do NOT have the problem
- Firmware v1.4.10.06 and later HAVE the problem
- Cisco SG350/SG550X
- Firmware v2.2.8.04 and earlier do NOT have the problem
- Firmware v220.127.116.11 HAS the problem
Correct the username/password issue via either the webUI or CLI.
- Login to the default switch with username/password cisco/cisco
- Set new username of
hello and password of
Goodbye007 on the window in the picture below. The actual username/password doesn't matter, as we will be removing it later.
- Once logged in, change the Display Mode to Advanced in the dropdown in the top-right corner
- On the left menu, select the Security tab and the Password Strength submenu.
- Uncheck Password Aging and Password Complexity Settings
- Click Apply
- On the left menu, select the Administration tab and the User Accounts submenu.
- In the User Account Table, click the Add button
- Create a User Name of
cisco with a password of
cisco and click Apply.
- Click the blinking Save button on the top bar to the left of the Display Mode and Language dropdown boxes. This will save the changes that have been made.
- Power-cycle the switch and run JADConfig. Done!
- Connect to the switch with a console cable (same as the console connection used in JADConfig)
- Open PuTTY and connect to the switch at baud rate 115200
- Hit the enter key until the switch prompt reads
- Enter the commands below one by one, hitting enter between them, to create a temporary username, remove username/password restrictions, reapply the default username/password of cisco/cisco, and save changes.
passwords aging 0
no passwords complexity enable
username cisco privilege 15 password cisco
no user hello
- Power-cycle the switch and close PuTTY.
- Run JADConfig as usual. Done!