04-27-2005 02:12 AM
Can someone tell me if it's possible to create entries i.e. sub-interfaces, tunnels etc. using SNMP on a Cisco router? I know you're able to modify current entries but I was wondering if it was possible to provision a whole bunch of circuits using SNMP. I'm looking at developing a few tools to do this and I was wondering if anyone has done anything like this or could point me in the right direction?
04-30-2005 04:49 PM
best way is to create a configlet and then use the CISCO-CONFIG-COPY-MIB to trigger a tftp download
the configlet will be merged with the running config
05-02-2005 01:27 AM
I've done quite a lot of reading up on this since my post and it seems that's the only way of doing this using SNMP. Most of the useful SNMP MIBS are read-only so I guess you could use that for checks and changing existing entries. For adding new configurations you are right to use SNMP to trigger a TFTP upload.
I think the best option if you were looking at developing a provisioning tool would be to use a library called Net::Telnet::Cisco. It's similar to the scripting language, 'Expect' but you have more control.
Thanks for the reply.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide