10-04-2014 03:21 AM - edited 03-04-2019 11:53 PM
hi guys
I've recently encounter a problem in defining privilege level on Cisco 3925 router.
I have defined a root user before with full permission(privilege level 15) but now I wanna define a new user with more restricted permission, but I'wanna let the new user to check the running-config.
here is my configuration:
R3925(config)#username admin privilege 10 secret 4 04CP9hzO5lEnKMbmI1Hi/2DbIkLZMrIH/BfUOrdBL62
R3925(config)#privilege exec level 10 show running-config
R3925(config)#privilege exec all level 10 show running-config
But everytime I login with "admin" user I can not check running-config, the CLI doesn't turn back any error but I can not see anything.
R3925#show running-config
R3925#
05-15-2019 08:20 PM
If nothing helps like it was in my case, try to add this line in the config mode:
file privilege <priv level>
This's helped in my case.
03-17-2020 08:44 AM
Glad I found this thread. The file privilege command is what I needed as well, even in the latest IOS-XE.
Blog post: Giving read-only access on Cisco IOS-XE with RADIUS authentication
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