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 or for cloning a system-delivered role to a local or directory role.
Note:
System roles are intended as sample roles delivered with the product. To adapt a system role for site-specific use, clone it and modify the cloned role rather than creating changes directly to the system 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. A system role can also be cloned to a local or directory role. If no role type is specified, the new type is the same as the cloned type. A cloned role is editable; the original system role is not.