12-30-2023 09:17 AM
Hello,
I'm trying to enable audit logs on my network device and when I configure the following command I get a warning message
1. aaa accounting commands
2. aaa accounting exec
I get a message that says "Hidden command. Use of this command is not recommended/supported will be removed in the future" (message code "PARSER-5-HIDDEN")
What should I use instead?
Any thoughts?
Solved! Go to Solution.
12-30-2023 12:56 PM
12-30-2023 01:34 PM
we see same message when we using Cat 9300 its bug - CSCuc32663
12-30-2023 11:57 AM
Hello @acapit
For aaa accounting in cisco devices, the recommended and supported commands are associated with specific accounting methods (e.g., "start-stop," "stop-only") and accounting lists. The exact syntax may vary based on your specific device and IOS version...
Basic example using "aaa accounting" with the "start-stop" method for command accounting:
aaa accounting exec default start-stop group tacacs+
aaa accounting commands 15 default start-stop group tacacs+
First command, log the start and stop of EXEC session to the device. When the user logged in and when the user logged out. Total time spent.
The second command, log all the commands executed by the user, that are at privilege level 15.
12-30-2023 12:36 PM
I know that as I said when I configure the following commands I get a warning
"Hidden command. Use of this command is not recommended/supported will be removed in the future" (message code "PARSER-5-HIDDEN"),
Do you have any other solution?
12-30-2023 12:40 PM
Please share your aaa configuration
12-30-2023 01:18 PM
Sadly I cannot share with you my configuration due to my company policy.
12-30-2023 12:56 PM
aaa accounting commands visible-keys
try this
12-30-2023 12:01 PM
Can I see all aaa config
MHM
12-30-2023 01:18 PM
Sadly I cannot share with you my configuration due to my company policy.
12-30-2023 01:26 PM
aaa accounting commands visible-keys
Try using this command to see command without mask
12-30-2023 01:34 PM
we see same message when we using Cat 9300 its bug - CSCuc32663
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