Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Cisco CLI View Help

Status
Not open for further replies.

sokonta

Technical User
Nov 5, 2002
4
0
0
Am trying to configure a cli View it all seems to be working but not the way i want it. Has anyway ever tried using the include command to enable sub-command to work. I cannot get this to work. When i use the include all i get all the sub-command that i want the user to see but more than i really want the user to be able to configure. How can i limit what they can configure without using the all command below is my config.

parser view NewTech
secret Cisco123
commands configure include all parameter-map type urlfilter
commands configure include parameter-map type
commands configure include parameter-map
commands exec include configure terminal
commands exec include configure

When the user logs in with the above setup they are able to excute the following:

Vi(config)#parameter-map type urlfilter BlockSocialNetwork

But then they are able to configure the below as well and all i want them to be able to configure is exclusive-domain only:..
Vi(config-profile)#
parameter-map commands:
alert Enable alerts
allow-mode Turn on/off allow-mode
audit-trail Enable logging of URL information at router
cache Specify size of the cache and timeout value of cache
entries
exclusive-domain Specify the exclusive domain name
exit Exit from parameter-map
max-request Specify maximum number of pending request
max-resp-pak Specify the number of http responses that can be buffered
no Negate or set default values of a command
server Specify the URL filter server ip address
source-interface Specify source-interface for connection to server
truncate Truncate url
urlf-server-log Enable logging of URL information at URL filter serve

Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top