Cisco – Protocol to push config to Cisco/HP switches

ciscohpswitch

What protocol(s) can be used to programatically "push" configuration settings to Cisco/HP switches, over a network? Of course, I could write a program which would imitate what a human does when logging in by telnet/SSH, and then issue command-line commands. But I'm hoping there is a nicer way to do this.

(I'm sure I could find the answer through Google… if I just knew the right search keywords to try!)

Best Answer

Ciscocmd is another option like RANCID which has already been mentioned;

http://sourceforge.net/projects/cosi-nms/files/ciscocmd/

Alternatively you could use SNMP. You can send an SNMP write to the device with the location of a config server using an TFTP URL or HTTP URL and setting the "Pull config" option via SNMP;

http://www.cisco.com/c/en/us/support/docs/ip/simple-network-management-protocol-snmp/15217-copy-configs-snmp.html#copying_startup

https://supportforums.cisco.com/discussion/11025771/push-configuration-snmp