03-03-2020 04:42 AM
Hello
I am trying to configure object tracking inside an eem script to track an interface going down. However, for some reason, in 16.9.x, it is not giving me the option "track" under the eem applet. I remember this was available in 3.x.x versions.
Please find the below logs
======
Switch#show ver
Cisco IOS XE Software, Version 16.09.04
Cisco IOS Software [Fuji], Catalyst L3 Switch Software (CAT3K_CAA-UNIVERSALK9-M), Version 16.9.4, RELEASE SOFTWARE (fc2)
ROM: IOS-XE ROMMON
BOOTLDR: CAT3K_CAA Boot Loader (CAT3K_CAA-HBOOT-M) Version 3.58, RELEASE SOFTWARE (P)
--More--
*Mar 3 15:00:10.496: %SYS-5-CONFIG_I: Configured from console Switch uptime is 2 hours, 51 minutes
Uptime for this control processor is 2 hours, 53 minutes
System returned to ROM by Reload Command
System image file is "flash:packages.conf"
Last reload reason: Reload Command
Switch(config)#track 123 interface gigabitEthernet 1/0/2 line-protocol
Switch(config-track)#
-------
EEM
Switch(config)#event manager applet interfacedown authorization bypass
Switch(config-applet)#event trac?
% Unrecognized command
=======
I am trying to reach the below config (from 3.x.x version)
track 123 interface gigabitethert1/0/2 line-protocol
event manager applet lantrackdown
event track 123 state down
=======
Kindly advice what I am missing here
03-03-2020 06:04 AM
Hi,
I remember running into this as well, so it seems this feature is not available for switches for some reason. You cans till achieve the same thing by matching on the syslog message you get when the tracked object goes down or up.
Regards,
Cristian Matei.
03-04-2020 03:28 AM
True. Thats what I have done for now.
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