Symptom
- C1100TG running 17.3.4a is failing to run EEM scripts, no matter the content
- Errors shown include
%HA_EM-3-FMPD_CLI_CONNECT: Unable to establish CLI session: 'Embedded Event Manager' detected the 'fatal' condition 'timeout error'
- Error is seen when line vty have the command "autocommand"
line vty 0 4
exec-timeout 0 0
privilege level 15
autocommand menu devices >>> command triggering the issue
transport input ssh
transport output ssh
- If autocommand is removed, the script works fine.
Conditions
- Autocommand is enabled in line vty
- EEM script is configured
Workaround
- Remove "Autocommand" from line vty configuration
Further Problem Description
- Whenever user logins using line where autocommand is configured, the autocommand feature will automatically execute the command and display the output and then by default disconnect the user session.
- To avoid such automatic disconnect, add the "autocommand-options nohangup" under the vty line.