Compare cert salaries and plan your next career move
ColbyNA wrote: » Here's a TCL guide:Cisco IOS Scripting with Tcl - Cisco Systems I'm no good at scripting, but there should be something in there that would work. You could also use Perl.
kalebksp wrote: » If the interfaces are sequential you could use the interface range command, ie int range s0/0.1 - s0/0.5
ColbyG wrote: » Perl is a scripting language. You wouldn't run the script on the router, you would run it on a machine. There are Cisco scripts out there if you search. I've got a couple Bash scripts that do basic stuff.
Sepiraph wrote: » Actually you can definitely use perl script to act on Cisco router, the idea is to execute the script on a host on which then you either use 1) telnet/ssh module or 2) setup snmp community string with write access, with router acting as the 'server'.
mikej412 wrote: » Automation is fine for huge configuration tasks -- if you take the time to test in a lab environment first. The problems start to happen when you spend more time working on your scripts than it would take to just cut and paste. And you have to be careful that your shortcuts don't cause more problems and waste more time than any automation benefit would provide. Nothing says "your fired" more than screwing up 50+ device in one shot. That said.....The Cisco-centric Open Source Exchange Community
knwminus wrote: » good find as well. Totally forgot about the range command.
knwminus wrote: » Is there anything that can help automate a configuration that is functionally the same as a do while loop? Situation: I am configuring authentication on sub interfaces on routers. I have about 12 in total. What I have been doing up to this point is using notepad and copy pasting my code over. What I would like to know is if there is something like a do while loop from the cli so I can only execute the command once. I know I can use the sdm and other tools to speed this up but I would rather do it from the cli. I did google search and ask around and no one was able to give me an answer.
Compare salaries for top cybersecurity certifications. Free download for TechExams community.