Administrator Guide

The following example applies the accounting default method to the user role secadmin (security administrator).
Dell(conf-vty-0)# accounting commands role secadmin default
Displaying Active Accounting Sessions for Roles
To display active accounting sessions for each user role, use the show accounting command in EXEC mode.
Example of Displaying Active Accounting Sessions for Roles
Dell#show accounting
Active accounted actions on tty2, User john Priv 1 Role netoperator
Task ID 1, EXEC Accounting record, 00:00:30 Elapsed,
service=shell
Active accounted actions on tty3, User admin Priv 15 Role sysadmin
Task ID 2, EXEC Accounting record, 00:00:26 Elapsed,
service=shell
Display Information About User Roles
This section describes how to display information about user roles.
This sections consists of the following topics:
Displaying User Roles
Displaying Information About Roles Logged into the Switch
Displaying Active Accounting Sessions for Roles
Displaying User Roles
To display user roles using the show userrole command in EXEC Privilege mode, use the show userroles and show
users commands in EXEC privilege mode.
Examples of Displaying User Roles
Dell#show userroles
Role Inheritance Modes
netoperator Exec
netadmin Exec Config Interface Line Router IP Routemap Protocol MAC
secadmin Exec Config
sysadmin Exec Config Interface Line Router IP Routemap Protocol
MAC
testadmin netadmin Exec Config Interface Line Router IP Routemap Protocol MAC
Displaying Role Permissions Assigned to a Command
To display permissions assigned to a command, use the show role command in EXEC Privilege mode. The output displays the
user role and or permission level.
Examples of Role Permissions Assigned to a Command
Dell#show role mode ?
configure Global configuration mode
exec Exec Mode
interface Interface configuration mode
Security
839