06-30-2016 01:43 PM - edited 03-10-2019 11:54 PM
Hello, sorry for my English.
We need to restrict the execution of the "Reload" command on certain switches and routers considered Core or concentrators.
I could implement the restriction of the use of command using EEM but I left out a switch 6500, Core of Data Center, because the version of the operating system does not support EEM.
We have configured AAA and do authentication against a TACACS server where users listed there (nonlocal) to access the devices.
In fact, we grant permissions to execute certain commands only via the file "tac_plus.conf" that resides on the TACACS server.
What I could not do is restrict the execution of "Reload" using the same method, only I got doing with EEM on routers and switches critical.
I would like to know if it is possible to restrict the "reload" command on certain devices, configuring the instructions in the "tac_plus.conf" file.
Thank you very much.
Solved! Go to Solution.
06-30-2016 01:56 PM
Hi
I've never used in production other tacacs server except Cisco ACS.
However, on your tac_plus.conf, you can create some profiles and deny or permit some commands. Within this profiles, you can do a deny "reload". Have you tried it?
It should looks like:
group = Usercommand {
default service = permit
cmd = no {
deny reload*
....."
On the switch, I assume you have configured the aaa authorization command?
Thanks
PS: Please don't forget to rate and mark as correct answer if this solved your issue
06-30-2016 01:56 PM
Hi
I've never used in production other tacacs server except Cisco ACS.
However, on your tac_plus.conf, you can create some profiles and deny or permit some commands. Within this profiles, you can do a deny "reload". Have you tried it?
It should looks like:
group = Usercommand {
default service = permit
cmd = no {
deny reload*
....."
On the switch, I assume you have configured the aaa authorization command?
Thanks
PS: Please don't forget to rate and mark as correct answer if this solved your issue
07-01-2016 06:21 AM
Hi supportlan,
Thanks for your help.
07-01-2016 06:50 AM
On ACS it would be possible but don't know on your server. Are you able to define rules on specific nas-ip?
I'm not very familiar with 3rd party tacacs server. As I know you can define rules per user but what about nas-ip (client device)?
Thanks
PS: Please don't forget to rate and mark as correct answer if this solved your issue
07-01-2016 07:28 AM
Hello, I very much appreciate your answer, I believe to be right when I say that if I use "deny" for a command, this applies across the network, therefore I is not helpful to our case.
Anyway, thank you very much for your time and help.
07-01-2016 07:36 AM
Across the network, well it depend if you can do rule set bases on nas-ip.
you're very welcome
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