I've searched around here but have not been able to find a way to do a "delay" when creating a Config Change Template.
I've tried the following...
{
string @PipeSymbol='|'
string @PausePlease='${Delay:5}'
// Enter configuration mode
CLI
{
configure terminal
}
// Loop through selected ports
foreach (@portItem in @TargetPorts)
{
CLI
{
interface @portItem.InterfaceDescription
shut
@PausePlease
no shut
end
@PausePlease
sh ip int brief @PipeSymbol incl @portItem.InterfaceDescription
}
}
}as well as a few other variants but either the delay is ignored, invalid when Validating or comes up with an error.
Has anyone figured out how to delay scripts during a run in Config Change Templates and have it work? I'm going to continue hacking at it but if someone's figured it out, I would love to know.