Creating a role
Create a role as follows:
Run the
aaa authorization local-user
command.Specify the
local-user
parameter.Specify the
group
parameter.Press
enter
.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