netbrain Wiki
Network Configuration Download and Management suite
Status: Planning
Brought to you by:
owngeek
Welcome to your wiki!
This is the default page, edit it as you see fit. To add a new page simply reference it within brackets, e.g.: [SamplePage].
The wiki uses Markdown syntax.
Program: netBrain
Author: Raj Uppal (owngeek@gmail.com)
Version 0.01a - initial draft
Thanks to the authors of the following programs as I use thier open source software to make this program work:
Perl -- Larry Wall
Cisco::ConfigCopy -- Aaron Scarisbrick aaronsca@cpan.org
Net::SNMP -- David M. Town dtown@cpan.org
Prerequisites:
You need to have perl 5.8 and above, plus the perl modules Net::SNMP, and Cisco::CopyConfig istalled.
If you have perl installed simply run CPAN as follows:
unixhost perl -MCPAN -e shell
cpan> install Net::SNMP
cpan> install Cisco::CopyConfig
You need to specify a file name as the argument to this program which contains the IP Addresses of the routers or switches to get the config from.
If none is specified the program assumes the file name is "hosts.txt"
Example: netBrain.pl <filename.txt>
Your Cisco router/switch needs to have SNMP configured in read/write mode. Also the machine running this code must have the tftp service running.
Also ensure that the TCP/UDP ports for TFTP and telnet/ssh are open to and form the TFTP server and your device.
Example on cisco device assuming your netBrain host/TFTP server has IP address of 10.0.0.20:
access-list 10 permit host 10.0.0.20
access-list 10 deny any any
!
snmp-server tftp-server-list 10
snmp-server view backup ciscoMgmt.96.1.1.1.1 included
snmp-server community public view backup RW 10
end