Applying a Password to the Default Account

Default accounts do not have passwords assigned to them. Passwords can have a minimum of zero and a maximum of 32 characters. (If you specify the format of passwords using the configure account password-policy char-validation command, the minimum is eight characters.)

Note

Note

Passwords are case-sensitive. User-created account names are not case-sensitive.
  1. Log in to the switch using the name admin or user.
  2. At the password prompt, press [Enter].
  3. Add a default admin password of green to the admin account or blue to the user account.

    configure account admin green configure account user blue

    Note

    Note

    If you forget your password while logged out of the CLI, you can use the bootloader to reinstall a default switch configuration, which allows access to the switch without a password. Note that this process reconfigures all switch settings back to the initial default configuration.