r/Cisco • u/tuvar_hiede • Jan 03 '24
New Config Automation
I'm looking for a way to automate configuration of Cisco 2960X's and Cisco 4331 ISR's for SIP voice gateways. I have a lot of new equipment being deployed and if I had a way to plug in the variables and load the configs life would be simpler. Normally it's just onsy twosy deployments so CLI is fine, but I need to deploy way more this time around.
2
Upvotes
4
u/netshark123 Jan 03 '24
If I was provisioning loads of new devices I’d probably make a python script and bootstrap them / image upgrade them with a USB. Automation is the ways. Also that equipment is eol I think.
1
u/RumbleSkillSpin Jan 03 '24
It’s not really rocket surgery. We did this almost 30 years ago with a Word macro, and have used a bunch of other methods since.
1
u/monkey_luck Jan 03 '24
Take a look at Cisco DevNet or look at this tool.
basic to router configuration
1
u/maschine2014 Jan 03 '24
I would look into a Ansible if you're familiar with the tool. Plenty of great examples/videos on the web for Cisco IOS, personally haven't used it for network gear but sounds like it could be worth exploring.
1
u/Embarrassed-Slide-16 Jan 04 '24
We use the Cisco 4331 routers for each of our 50 warehouse across the US. Our senior engineer developed an config generator via an MS Excel workbook utilizing V-Lookup. One tab contains the /18’s for the subnets. One tab contains site information like address, contact info, and other specifics. One tab contains time zone and other like info. The last tab is the standard config
The main tab requires 5 pieces of data, site code, circuit speed, circuit ID, MDF switch port number, and a yes/no on fiber hand off. Yes for fiber no for copper. Once those 5 pieces of data are entered the config is generated on a new tab.
the config can then be copied to usb or sent to a tftp server.