Adding a Role (CLI)
A role is a collection of authorizations that can be assigned to a user. Use this procedure to define a new role. Also see the alternative method at the end of this task, which is ideal for cloning a local role as a directory role.
Alternative Method
To create a new role with the same authorizations as an existing role, use the clone
command. In configuration roles
, enter clone existing-role-name new-role-name new-role-type
. For new-role-type, enter local
or directory
. The new-role type can be different from the existing type. For example, a local role can be cloned to a directory role. If no role type is specified, the new type is the same as the cloned type.