cisco IOS XE 17.16.x — Additional References EEM Python Module

What to do next The following example shows how to trigger the Python script configured in the task: Device(config)# interface loopback 55 Device(config-if)# shutdown Device(config-if)# end Device# Mar 13 10:53:22.358 EDT: %SYS-5-CONFIG_I: Configured from console by console Mar 13 10:53:24.156 EDT: %LINK-5-CHANGED: Line protocol on Interface Loopback55, changed state to down Mar 13 10:53:27.319 EDT: %LINK-3-UPDOWN: Interface Loopback55, changed state to administratively down Enter configuration commands, one per line. End with CNTL/Z. Mar 13 10:53:35.38 EDT: %LINEPROTO-5-UPDOWN: Line protocol on Interface Loopback55, changed state to up *Mar 13 10:53:35.39 EDT %LINK-3-UPDOWN:

Interface Loopback55, changed state to up +++ 10:54:33 edi37(default) exec +++ show ip interface br Interface IP-Address OK?

Method Status Protocol GigabitEthernet0/0/0 unassigned YES unset down down GigabitEthernet0/0/1 unassigned YES unset down down GigabitEthernet0/0/2 10.1.1.31 YES DHCP up up GigabitEthernet0/0/3 unassigned YES unset down down GigabitEthernet0 192.0.2.1 YES manual up up Loopback55 198.51.100.1 YES manual up up Loopback66 172.16.0.1 YES manual up up Loopback77 192.168.0.1 YES manual up up Loopback88 203.0.113.1 YES manual up up Additional References EEM Python Module Related Documents Shells and Scripting Additional References EEM Python Module Command or Action Purpose Device# show event manager policy active Step 9 show event manager history events Example:

Device# show event manager history events Displays the EEM events that have been triggered. Related Topic Document Title EEM configuration Embedded Event Manager Configuration Guide EEM commands Embedded Event Manager Command Reference Guest Shell configuration Guest Shell Programmability Configuration Guide, Cisco IOS XE 17.16.x 151