Dell C9000 Series Networking Configuration Manual page 973

Hide thumbs Also See for C9000 Series:
Table of Contents

Advertisement

myrole
secadmin
Modifying Command Permissions for Roles
You can modify (add or delete) command permissions for newly created user roles and system defined roles
using the role mode { { { addrole | deleterole } role-name } | reset } command
command in Configuration mode.
NOTE:
You cannot modify system administrator command permissions.
If you add or delete command permissions using the role command, those changes only apply to the
specific user role. They do not apply to other roles that have inheritance from that role. Authorization and
accounting only apply to the roles specified in that configuration.
When you modify a command for a role, you specify the role, the mode, and whether you want to restrict
access using the deleterole keyword or grant access using the addrole keyword followed by the
command you are controlling access. For information about how to create new roles, see also
Creating a New User Role.
The following output displays the modes available for the role command.
Dell (conf)#role
configure
exec
interface
line
route-map
router
Examples: Deny Network Administrator from Using the show users Command.
The following example denies the netadmin role from using the show users command and then verifies
that netadmin cannot access the show users command in exec mode. Note that the netadmin role is not
listed in the Role access: secadmin,sysadmin, which means the netadmin cannot access the show
users command.
Dell(conf)#role exec deleterole netadmin show users
Dell#show role mode exec show users
Role access: secadmin,sysadmin
Example: Allow Security Administrator to Configure Spanning Tree
The following example allows the security administrator (secadmin) to configure the spanning tree protocol.
Note command is protocol spanning-tree.
Dell(conf)#role configure addrole secadmin protocol spanning-tree
Example: Allow Security Administrator to Access Interface Mode
The following example allows the security administrator (secadmin) to access Interface mode.
Dell(conf)#role configure addrole secadmin ?
LINE
Initial keywords of the command to modify
Dell(conf)#role configure addrole secadmin interface
Exec Config Line
?
Global configuration mode
Exec Mode
Interface configuration mode
Line Configuration mode
Route map configuration mode
Router configuration mode
Security
973

Advertisement

Table of Contents
loading

Table of Contents