Configures user along with role for local authentication.
Config mode
This command is available only to users with the admin role.
The following example configures users with admin and user roles.
device# configure terminal device(config)# username testuser1 role admin password password123 encryption-level 0 device(config)# username testuser2 role user password $6$salt$cevuzTZ/QBjzuZG0/ebEeedmcTnhyM8ITUu8K032Cp2XvIibq7voqYagm18bwpLBqrg /l/l6YxTmKKibJz5r10 encryption-level 10 device# show running-config username username testuser1 role admin password $6$salt$cevuzTZ/QBjzuZG0/ebEeedmcTnhyM8ITUu8K032Cp2XvIibq7voqYagm18bwpLBqrg /l/l6YxTmKKibJz5r10 encryption-level 10 username testuser2 role user password $6$salt$cevuzTZ/QBjzuZG0/ebEeedmcTnhyM8ITUu8K032Cp2XvIibq7voqYagm18bwpLBqrg /l/l6YxTmKKibJz5r10 encryption-level 10