Hello All,
So I'm not sure if any of you are familiar with the CSS but I was hoping to get some help. So the CSS is a tricky beast. The IOS isn't completely Cisco's. Infact, Cisco bought the CSS from another company and adapted the code and made some mods to make it similar to theirs.
Any how, so my question is, can I use Net-Appliance-Session for this device? I know I "can" use it and it works but the problem with the CSS is, if you input multiple lines at ones, the CSS doesn't like it. It sometimes locks up and the only way to revive it is to reboot the device. In a lab environment this is OK but in production, this isn't very cool.
The question:
If I use something like:
foreach my $line(@array) {
my @out1 = $s->cmd($line);
}
will this wait for the output from each command before throwing the next? If not, how would I go about telling it to? I know I can use the "time out" value but I'm trying to have a more accurate way of doing this since this will be on production devices. Using SecureCRT I have a script that tells it to wait to throw next command till it sees the "(config)#" prompt. How would I do that with these modules?
Amir