parser view interface issue

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-23-2014
03:40 AM
- last edited on
03-25-2019
05:32 PM
by
ciscomoderator
Hi All
i have a problem with parser views.
i want to make a view where its only possible to change the vlan on a given port.
i have tryed a number of possibilities and now im ready to give up .
when i make the view i have to define every gigabit or Fastethernet port, i need a command that can allow access to all gigabitethernet ports without giving them access to execute all comannds in interface config.
my view looks like this
parser view int
secret 5 $1$ZPxG$PZ.izEXhrKjTYPZVhuldu1
commands interface include switchport
commands configure include interface
commands exec include-exclusive configure terminal
commands exec include configure
!
if i want to allow access to an interface port i need to add
commands configure include interface gigabitethernet1/0/1
and i rather not add all 28 ports i that manner, is there a command that fixes my problem?
- Labels:
-
AAA

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-23-2014 03:59 AM
DETAILED STEPS

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-23-2014 04:35 AM
i have allso found that document but that dosent really help me in that i can see the interface command in step 5 but still dont know if there is a command like the range command that allows me to allow access to all interfaces but no run any commands when they access it.
the closest i have come is the "commands configure include all interface." but that command gives them access to all sub commands in a given interface.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2014 10:37 AM
Hi,
I have the exact same issue. I want to give access to only gigabitethernet ports but have to add line commands configure include interface gigabitethernet 1/0/X for each interface.
Commands configure include all interface allows creation of SVI for example and I don't want that?
Did you find anything concerning this issue?
Thanks!
Alex
