cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
4636
Views
0
Helpful
2
Replies

Parser Views Configuration and Issues

leelove01
Level 1
Level 1

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#

2 Replies 2

klove01
Level 1
Level 1

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. 

Please use "show run view full" instead. 

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: