Cisco Cisco IOS Software Release 12.2(25)S

Page de 68
      Embedded Event Manager 2.0
How to Configure Embedded Event Manager 2.0
11
Cisco IOS Release 12.2(25)S
Examples 
Sample Output for the show event manager environment Command
In the following example, the show event manager environment privileged EXEC command is used to 
display the name and value of all EEM environment variables. 
Router# show event manager environment all
No.  Name                          Value
1    _cron_entry                   0-59/2 0-23/1 * * 0-6
2    _show_cmd                     show ver
3    _syslog_pattern               .*UPDOWN.*Ethernet1/0.*
4    _config_cmd1                  interface Ethernet1/0
5    _config_cmd2                  no shut
Displaying Embedded Event Manager History Data
Perform this optional task to change the size of the history tables and to display EEM history data.
SUMMARY STEPS
1.
enable
2.
configure terminal
3.
event manager history size {events traps} [size]
4.
exit
5.
show event manager history events [detailed] [maximum number]
6.
show event manager history traps {server | policy}
DETAILED STEPS
Step 1
enable
Enables privileged EXEC mode. Enter your password if prompted.
Router> enable
Step 2
configure terminal
Enters global configuration mode.
Router# configure terminal
Step 3
event manager history size {events traps} [size]
Use this command to change the size of the EEM event history table or the size of the EEM SNMP trap 
history table. In the following example, the size of the EEM event history table is changed to 30 entries:
Router(config)# event manager history size events 30
Step 4
exit
Exits global configuration mode and returns to privileged EXEC mode.
Router(config)# exit