07-22-2025
12:55 AM
- last edited on
07-22-2025
02:52 AM
by
shazubai
Equivalent command for'show privilege'
cisco Nexus9000 C93108TC-FX3P
NXOS: version 10.3(3) [Feature Release]
Host NXOS: version 10.3(3)
07-22-2025 01:06 AM
hello @gowdakssujan Just to clarify r u asking for the equivalent of the show priviledge command on this Nexus 9000 NX-OS version? If so, the equivalent command is:
-Enes
07-22-2025 01:09 AM
You have roles in the nexus that is network-admin, network-operator and so on
you can use below command to see the roles :
#show roles
if you want to see what role user got it depends on Local or remote authentication, below command show what role user in.
# show user-account
user:admin
this user account has no expiry date
roles:network-admin
no password set. Local login not allowed
Remote login through RADIUS/TACACS+ is possible
account created through REMOTE authentication
Local login not possible
user: balaji_bandi
roles:network-admin
account created through REMOTE authentication
=====Preenayamo Vasudevam=====
***** Rate All Helpful Responses *****
07-22-2025 01:26 AM
Hello @gowdakssujan,
there is no direct equivalent to the 'show privilege' command because NX-OS does not use privilege levels.
Instead the Nexus switches use role-based access control (RBAC) with predefined roles.
So when you create a new user account you assign a role to this user defining what this user can do.
A typical output of the 'show user-account' command might look like this:
Nexus# show user-account
user:NetOp
this user account has no expiry date
roles:network-operator
user:NetAdmin
this user account has no expiry date
roles:network-admin
user:DevOps
this user account has no expiry date
roles:dev-ops
Nexus#
The command 'show role' command gives you the details what a user with a specific role can do, e.g.:
Nexus# show role name dev-ops
Role: dev-ops
Description: Predefined system role for devops access. This role
cannot be modified.
-------------------------------------------------------------------
Rule Perm Type Scope Entity
-------------------------------------------------------------------
5 permit command conf t ; username *
4 permit command attach module *
3 permit command slot *
2 permit command bcm module *
1 permit command python *
Nexus#
HTH!
07-22-2025 01:34 AM
Note: Nexus OS (NX-OS) does not use privilege levels (0–15) like IOS. Instead, it uses role-based access control (RBAC) with roles such as network-admin, network-operator, etc.
To see role of user access to nexus use
Show user-account
MHM
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide