cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1540
Views
0
Helpful
3
Replies

show clock with EEM

junsung kim
Level 1
Level 1

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

 

3 Replies 3

balaji.bandi
Hall of Fame
Hall of Fame

Not able to understand the requirement here - can you please explain more what you trying to achieve.

 

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

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

 

 

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.
 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

Review Cisco Networking for a $25 gift card