Creating a role

Create a role as follows:

  1. Run the aaa authorization local-user command.

  2. Specify the local-user parameter.

  3. Specify the group parameter.

  4. Press enter.

  5. Enter a password.

In this example, a local-user user1 is assigned to the network-admin role.

Assigning a local-user

# aaa authentication local-user "user1" group "network-admin" password plaintext