Does anybody know how to configure tacacs to restrict some exec commands. In the example below, I want to prevent such commands as ip routing from being entered. With this configuration, I am still able to enter the command ip routing.
group = test {
default service = permit
cmd = configure {
permit .*
}
cmd = ip {
permit default-gateway
deny .*
}
# Default access to enable mode
service = exec {
priv-lvl = 15
}
}
group = test {
default service = permit
cmd = configure {
permit .*
}
cmd = ip {
permit default-gateway
deny .*
}
# Default access to enable mode
service = exec {
priv-lvl = 15
}
}