If a privilege contains any arguments, after the privilege, type a colon and the argument(s).
role create <name> <privilege1>:<argument1>,<argument2>...;
<privilege2>:<argument1>,<argument2>...;
<privilege3>:<argument1>,<argument2>...;
...
<name> is a string comprising up to 32 ASCII printable characters.
<privilege1>, <privilege2>, <privilege3> and the like are names of the privileges assigned to the role. Separate each privilege with a semi-colon.
<argument1>, <argument2> and the like are arguments set for a particular privilege. Separate a privilege and its argument(s) with a colon, and separate arguments with a comma if there are more than one argument for a privilege.
For example, to create a new role and assigns privileges to the role, at the config:# prompt, type role create tester firmwareUpdate;viewEventSetup, and press Enter.
A new role "tester" is created.
Two privileges are assigned to the role: firmwareUpdate (Firmware Update) and viewEventSetup (View Event Settings).
The following tables lists all privileges.
|