When running a script from MC to ISG where script content has an inline command that needs to be terminated by ${@decode 0x4} (CTRL+D keyboard equivalent ), script hangs.
Sample MC script that may cause hung on ISG:
conf t
ssl
inline ca-certificate my_company_root
-----BEGIN CERTIFICATE-----
<<<truncated for brevity>>
-----END CERTIFICATE-----
${@decode 0x4}
edit ccl browser-trusted add my_company_root
exit
exit
Management Center
ISG
ISG may take some time processing the content of inline statement and does not respond quickly enough with an echo'ed end of marker comment after the ${@decode 0x4} (ctrl+d) . Any succeeding lines of script after the ${@decode 0x4} that would be executed may cause the hung state on ISG processing the rest of the scripts.
MC introduce a pause command on a script that could be used to compensate a delay of ISG responding after the ${@decode 0x4} (ctrl+d)
Sample MC script with pause command:
conf t
ssl
inline ca-certificate my_company_root
-----BEGIN CERTIFICATE-----
<<<truncated for brevity>>
-----END CERTIFICATE-----
${@decode 0x4}
!- MC: pause
edit ccl browser-trusted add my_company_root
exit
exit