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

Limited show Running right.

usman.ahmad
Level 1
Level 1

I have to share show running rights with a clinet. i want to restrict out put in a way. it should not show my SNMP IP, and WAN interface IPs. can i do this ?

thanks

1 Reply 1

Marvin Rhoads
Hall of Fame
Hall of Fame

I believe if you set the privilege level of the snmp-server and related commands higher than the user's privilege level that should do the job. I just tried this and found it a bit tricky in practice. You might be able to get that to work with enoughtweaking.

I also tried (successfully) using the autocommand feature. Have the autocommand execute thus:

     username six autocommand show run | ex host | address

However that does exclude all "ip address" lines, not just WAN ones. It will prevent the user from doing anything else though - they are logged out as soon as "show run" reached the end of the config.

Review Cisco Networking for a $25 gift card