Saved Commands not working for Sonic devices with multiple lines.
Example:
If saved commands has following
sonic-clishow running-configuration | grep snmp
Fails to run second command from NCM.
NCM 10.1.x/24.3.x
sonic-cli command would get device to config mode however in NCM generated script, stdEnablePromptState and stdDisablePromptState are checked.
In saved commands from Automation Library do following:
Run saved commands, it will work.