Hi
I have a simple config change template.
script TestPing (NCM.Nodes @ContextNode)
{
CLI
{
ping 172.25.230.249
}
}
When this runs this is the script results.
1/25/2018 10:32:19 AM on test-router.test.com (172.1.10.13) by tim
ping 8.8.8.8
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 8.8.8.8, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 5/7/11 ms
Does SW NCM support an if clause that will test the results eg
if ($output contains '!!!!!') {continue script}
else
{end}
Thanks
Tim