Also, here's an output when I put a sleep 1; right after the first $telnet->send("$configline\n");
SW01.ALLN.MI(config)#Made it into %!!Made it into %!!Made it into %!! access-list 23 permit host 10.74.33.48
SW01.ALLN.MI(config)#permit 10.74.12.0 0.0.0.255
permit 10.74.12.0 0.0.0.255
I'm working on a script for my job to read a list of routers/switches from a DB, log into each one and apply a list of commands located in a separate text file.
This works great. The problem is, some devices take different commands to accomplish the same task. So I've decided to make it so...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.