Dell POWEREDGE M1000E User Manual

Page 919

Advertising
background image

Fabric OS Command Reference

891

53-1002746-01

roleConfig

2

--help

Displays the command usage.

EXAMPLES

To create a role with Zoning and SecurityAdmnin permissions and OM access:

switch:admin> roleconfig --add myzonesec \
-d "Zone and Security Admin" -c Security,zoning -p OM

To change the access permissions of the previously created role and to display the results:

switch:admin> roleconfig --change myzonesec -c pki -p N

switch:admin> roleconfig --change myzonesec -c security -p O

switch:admin> roleconfig --change myzonesec -c zoning -p OM

switch:admin> roleconfig --show myzonesec
Role Name : myzonesec
Description : Zone and Security Admin

RBAC Class Permission

---------- ----------
Security O
Zoning OM

Role permissions changed successfully.

To copy the role myszonesec:

switch:admin> roleconfig --copy superrole -r myzonesec
Role 'superrole' is copied successfully.

To delete a role:

switch:admin> roleconfig --delete -r myzonesec
You are going to delete a user defined role.
Are you sure? (yes, y , no, n) [no] y
Role 'myzonesec' is deleted successfully.

SEE ALSO

classConfig

Advertising