cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
942
Views
0
Helpful
5
Replies

Read-only User.

Dear all

I need help about bellow mention issue. I like to do create an user for cisco router, who can only run one command "show running-config". I tried to do it. like bellow. but its not working.

N.B: I will not use any extra server like Radius or others.

 

Configuration:

 

username test privilege 3 secret 5 $1$00pP$uF5i8ydpsOZ9XzKJfb16W0

 

--------

privilege exec level 3 show running-config

 

 

5 Replies 5

Hi,
You may need to add "privilege exec level 3 show" in addition to what you have already configured.

HTH

Hi RJI

Thanks for your response.
I did like this, but its not working. I tried with it with Cisco 4321 and 1941 router. Result remain same. Have any another way for do it ?

Thanks everyone.

The problem is solved.

how did you solve the problem

I did it with privilege level 5. Here is the command:

-----------------------------------------

username readonly sec onlypass

username readonly privilege 5

 

privilege configure all level 5 service

privilege exec level 5 show running-config

privilege exec level 5 show configuration

privilege exec level 5 show