Hi Sachin,
For ASA you can do below to know the privilege level:
The following commands let you view privilege levels for commands.
•To show all commands, enter the following command:
hostname(config)# show running-config all privilege all
•To show commands for a specific level, enter the following command:
hostname(config)# show running-config privilege level level
The level is an integer between 0 and 15.
•To show the level of a specific command, enter the following command:
hostname(config)# show running-config privilege command command
For IOS:
- User EXEC mode (privilege level 1) - Provides the lowest EXEC mode user privileges and allows only user-level commands available at the router> prompt.
- Privileged EXEC mode (privilege level 15) - Includes all enable-level commands at the router# prompt.
You can also set a particular command to a specific privilege:
https://learningnetwork.cisco.com/docs/DOC-15878
Hope this helps.
Regards,
Kanwal
Note: Please mark answers if they are helpful.