07-26-2016 08:09 AM
Hello;
please I want to disable (reload, erase and copy) from VTY lines, I do not want users can run this command.
how?
thanks
07-27-2016 01:44 AM
username user1 privilege 1 password Pass123
07-27-2016 01:44 AM
Thanks Luke for your answer;
I know how privilege works...
here is my situation: I want to share real switches and routers with my students, but I do not want them to be able to (reload, erase and save configuration), they can access devices using telnet or SSH.
how I can do that?
07-27-2016 06:07 AM
username students privilege 1 password Pass123
07-27-2016 06:07 AM
thanks Luke;
great answer, I even tried with privilege level 14, at that time users can not do most configurations that I need, privileges not working for me, I think if there is a way to disable only (reload,erase and copy) from privilege level 15, I think it is the only way.
thanks
07-27-2016 07:30 AM
Router1(config)# aaa new-model
Router1(config)# aaa authorization exec default local
Router1(config)# exit
Router1(config)# aaa new-model
Router1(config)# exit
Router1# enable view
Router1# configure terminal
Router1(config)# parser view STUDENTS
Router1(config-view)# secret Pass123
Router1(config-view)# commands exec include ping
Router1(config-view)# commands exec include traceroute
07-27-2016 07:30 AM
thanks for your answer;
I hope this one works for me... I will try it let me if works or not.
many thanks
but, don't you think there should be someway to do that? or if not available should be added in new cisco IOS, as I think it is important to admins to restrict or disable some commands.
07-27-2016 07:35 AM
07-31-2016 08:44 AM
Hello Luke;
really I do not have enough time to test it till now...
when I check it I will inform you...
thanks for asking
regards
Haval
07-29-2016 04:31 PM
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide