Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

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

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

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

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 ***
615
Views
0
Helpful
1
Replies
CreatePlease to create content