11-21-2019 03:35 AM
Hi, everyone
I want to show "show clock" on the screen when i enter show command using EEM script.
but i don't know how to do it
could you give me a guide?
thank you
best regards
11-21-2019 04:05 PM
Not able to understand the requirement here - can you please explain more what you trying to achieve.
11-21-2019 04:21 PM
Hi balaji,
For example, when i input "show ip int brief" command, before the result is shown,
the result of "show clock" should be shown first or at the end.
So, i want to see when i input every show command
thank you for your kindness
11-22-2019 12:07 AM
Why not have an AAA system in place so you can log all the information to the AAA system which has all the information you looking for.
EEM is for a different purpose than what you looking to do. you can also log using EEM script, but the user can clear Syslog messages.
example :
tacacs-server host x.x.x.x key xxxxx <<-- change xxx as per the requirement
aaa accounting commands 0 default start-stop group tacacs+
aaa accounting commands 15 default start-stop group tacacs+
Nov 22 01:45:12 Y.Y.Y.Y %xxxx5-514008: User 'BBANDI' executed the 'write memory' command.
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