10-02-2014 09:07 AM - edited 03-10-2019 10:04 PM
I'm trying to configure a privilege 9 user to enable them to view the running configuration. I referred to the information contained here. Below are the privilege level commands I've set for 8 and 6:
privilege configure level 8 interface
privilege exec level 8 configure terminal
privilege exec level 8 configure
privilege exec level 6 show running-config view full
privilege exec level 6 show running-config view
privilege exec level 6 show running-config
privilege exec level 6 show
I set the admin user to privilege level 9:
username admin privilege 9
When logged in as admin, the "show run" command still show's blank. When checking the "show run" commands available to the admin user, "view full configuration" is there, but still shows blank. Any advise?:
Router#sh run ?
aaa Show AAA configurations
interface Show interface configuration
view View options
vrf Show VRF aware configuration
| Output modifiers
<cr>
Router#sh run view ?
full Full 'running-configuration'
| Output modifiers
<cr>
Router#sh run view full ?
| Output modifiers
<cr>
Router#sh run view full
Router#show running-config ?
aaa Show AAA configurations
interface Show interface configuration
view View options
vrf Show VRF aware configuration
| Output modifiers
<cr>
Router#show running-config view ?
full Full 'running-configuration'
| Output modifiers
<cr>
Router#show running-config view full
Router#
10-02-2014 09:12 AM
Also, please note IOS version is15.2 for Cisco 892 router.
10-02-2014 02:16 PM
Can you post the "aaa" configs? Also, are you testing this via console or VTY line?
Thank you for rating helpful posts!
10-03-2014 08:20 AM
To be honest, I'm not thoroughly familiar enough with aaa configurations. Below is what I get when I do sh run aaa. Please note the admin user's privilege was reverted back to 15 because we couldn't get the intended configuration working.
Router#sh run aaa
!
no aaa new-model
username admin privilege 15
username root privilege 15
I'm connecting via VTY line below is the line configuration:
line vty 0 4
logging synchronous
login local
transport input ssh
line vty 5 15
logging synchronous
login local
transport input ssh
!
10-14-2014 01:09 PM
aaa configuration above. Is this what you're looking for?
10-14-2014 10:28 PM
Sorry I somehow missed your last reply. To get the "show run" to be available under a different privilege level is a bit trickier. Check the following thread for more info:
https://supportforums.cisco.com/document/56496/configuring-privilege-levels-cisco-ios
However, there a couple of ways to get around that:
Here are my commands:
Solution#1: Instead of "show run" you can enable your lower level users to use "show start-up config" The following commands make this possible
Solution#2: Instead of "show run" your users will have to use "show run view full". For following commands from the syntax make this possible:(Note the keyword "all" and where it is placed"
I hope this helps! Let me know if you are still having issues.
Thank you for rating helpful posts!
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