Information
Sets a local username and password
Rationale:
Default device configuration does not require strong user authentication enabling unfettered access to an attacker that can reach the device. Creating a local account with a strong password enforces login authentication and provides a fallback authentication mechanism in case remote centralized authentication, authorization and accounting services are unavailable
Solution
Run the following to set a local username and password.
HOSTNAME(CONFIG)#USERNAME _<local_username>_ PASSWORD _<local_password>_ PRIVILEGE _<level> _
The privilege level is chosen between 0 and 15. If the privilege is not configured, the default one is 2.