Subscribe Subscribe | Subscribe Comments RSS
Subscribe in Bloglines

Add to netvibes
Add to Google Reader or Homepage

If you want to allow a low-priviledged user on a Cisco router or a Switch to view the Startup Config then this can be done in Routers and Switches running Cisco IOS.

This infact is a simple 2 step procedure as follows:

Set Privileges to view Startup Config

From the Global configuration mode, set the permissions for the privilege level 3. This should allow the users set with privilege level 3 to view the startup config.

ciscorouter(config)# privilege exec level 3 show startup-config

Create User with the privilege

ciscorouter(config)# username operations priv 3 password opsuser

The above creates a new local user named "operations" on the Cisco router with password "opsuser"

Set privileges to view Running-config

To make the user view the running configuration. It gets a bit more complex. Set the privilege as follows:

ciscorouter(config)# privilege exec all level 3 show running-config

This will set the permissions to view the running config but only when viewed as follows

ciscorouter# show running-config view full

On the other hand, all the show commands will be enabled for the user.

5 Comments so far »

  1. by student, on September 24 2008 @ 1:15 pm

     

    hmm it seems commands are different for switches than routers… i can’t put in “privilege exec all level 3 show running-config” as there is no all any ideas?

  2. by Ciscozine, on November 18 2008 @ 4:25 am

     

    There are 16 different privilege levels that can be used. Level 0 is user mode. Level 15 is the privileged mode. Level 1 through 14 are available for customization and use.

    http://www.ciscozine.com/2008/10/23/multiple-privilege-levels/

  3. by siddhu, on October 1 2010 @ 7:05 am

     

    Great work, I tried so many ways to check the whole running config but nothing worked out well.But your commands worked for me, Thanks..

  4. by DIOUM, on June 7 2011 @ 11:49 am

     

    explain me the level privilege 4,6,7,8,9,10,11,12,13 and 14? thanks

  5. by DIOUM, on June 8 2011 @ 2:38 am

     

    hello, what are the level privilege for Help Desk and Network Operator thanks

Comment RSS · TrackBack URI

Leave a comment

Name: (Required)

eMail: (Required)

Website:

Comment: