07-16-2012 08:27 AM - edited 03-10-2019 07:18 PM
Guys,
I'm a CCNA/CCNP R&S and started my CCNA Security. I was trying to deploy a parser view on one of my routers just to give someone limited access. One thing I noticed is that when I created the view and start putting in the allowed commands I run into a problem. If I do the following "commands exec include all show" then for some reason in the running configuration it leaves the all keyword out. When you log into the view it only allows a show command with two options. It seems to only be allowing specific commands and not taking the all keyword. I've attaced some output for your viewing.
Has anyone encountered a similar problem? I've tried rebooting the router, changing the IOS on the router. Now I initially created 2 views which had this problem. After the IOS change, they started working right. So I created a 3rd view to just make sure all was working and unfortunately the 3rd view is having the same problem. I've tried rebooting it to no avail. Any ideas on if this is just buggy, or what the issue might be? Thanks!
Lee
-------------------------------------------------------------------------
parser view kelly
secret 5 $xxxxxxxxxxxxxxxxxxx
commands exec include configure terminal
commands exec include show running-config
commands exec include show <---------this only allows "show parser" and "show flash" It left out the "all" keyword
-----------------------------------------------------------------------------
Router#enable view
Password:
Router#config t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#parser view kelly
Router(config-view)#commands exec include all show <----show's I'm putting in the "all" keyword.
Router(config-view)#end
Router#
10-01-2012 12:21 PM
I've had that same problem in the past. What I've had to do to resolve that (if you want to call it that) was to just go back into the view and remove the "commands" command and re-add it. This usually resolved the problem.
03-09-2018 04:02 AM
Please use "show run view full" instead.
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