cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1014
Views
0
Helpful
1
Replies

ROLE-BASED CLI (VIEW) DONT SHOW OUTPUT OF SHOW RUN

leandro.candido
Level 1
Level 1

Hi all,

I have configured the role-based CLI to creat a view for some users. In this view I included the show running-config to permit the user, but when the user try the show running command, he dont receive any information.

Do you know what should be this?

Below are the config of the parser

Config to user access

username monitor privilege 15 view monitor password xxxxx

Parser config

parser view monitor

secret xxxxxxxx

commands exec include all show ip

commands exec include show version

commands exec include all show interfaces

commands exec include show running-config

commands exec include show

Thanks

1 Reply 1

John Blakley
VIP Alumni
VIP Alumni

Try to add the following:

commands configure include all ip

commands configure include all int

If you want to exclude from a running config:

commands configure include all int

commands configure exclude int fa0

commands configure exclude int s0

When doing a sh run now under that view, you should see all interfaces other than fa0 and s0.

HTH,

John

*please rate if helpful*

HTH, John *** Please rate all useful posts ***