07-14-2016 12:32 PM - edited 03-08-2019 06:38 AM
%Permission denied for the role
Hello expert,
Could you explain me please why I get this error message %Permission denied for the role with role network-operator if I do sh running-config?
N5K,
Version:7.0(8)N1(1)If i understand i should have read access, right?
# show running-config
% Permission denied for the role
many thanks
Alioune
Solved! Go to Solution.
07-14-2016 02:46 PM
Hi
You can do show role but as far as I remember the show run is not part of that role. You need to create a new role by specifying rule 1 permit command show running-config.
It needs more rights to have a view of the show run and you can't modify the default role.
Thanks
PS: Please don't forget to rate and mark as correct answer if this solved your issue
07-14-2016 02:46 PM
Hi
You can do show role but as far as I remember the show run is not part of that role. You need to create a new role by specifying rule 1 permit command show running-config.
It needs more rights to have a view of the show run and you can't modify the default role.
Thanks
PS: Please don't forget to rate and mark as correct answer if this solved your issue
07-18-2016 01:48 AM
Thanks you for clarifying my doubls.
Kind regards
Alioune
07-18-2016 07:56 AM
Supportlan,
What would be if we do not use local data base, instead my end customer use RADIUS/TACACS..
He told me that the script worked fine in 5.2(1)N1(7) ,but since the upgrade to 7.0(8)N1(1) it no longer works .
What I understand is that whatever method (local or raduis/tacacs) you have to create a new role.
What are your thoughts?
07-18-2016 09:45 AM
Hi
the same applies to radius authentication as you have to push a role. This role has to be defined first on the Nexus itself first.
For Tacacs, it could be a little bit different as you say commands per commands right instead of role.
Thanks
PS: Please don't forget to rate and mark as correct answer if this solved your issue
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