fetchconfig 0.4 review
Downloadfetchconfig is a Perl script for retrieving configuration of multiple devices
|
|
fetchconfig is a Perl script for retrieving configuration of multiple devices. Cisco IOS devices are currently supported.
Installation:
fetchconfig.pl expects a Perl interpreter at /usr/bin/perl.
fetchconfig.pl requires the Net::Telnet module.
Just unpack the fetchconfig tarball at a suitable location. Example:
[ fetchconfig tarball available at /tmp/fetchconfig-0.0.tar.gz ]
cd /usr/local
tar xzf /tmp/fetchconfig-0.0.tar.gz
ln -s fetchconfig-0.0 fetchconfig
[ fetchconfig is now available under /usr/local/fetchconfig ]
Usage:
Edit the file "device_table.example" according your needs, and save it as "device_table". Example:
[ fetchconfig available under /usr/local/fetchconfig ]
cd /usr/local/fetchconfig
cp device_table.example device_table
vi device_table
Run fetchconfig.pl, as in the following example:
[ fetchconfig available under /usr/local/fetchconfig ]
cd /usr/local/fetchconfig
./fetchconfig.pl -devices=device_table
The fetchconfig.pl script will scan the "device_table" file, trying to retrieve the configuration for every device, storing configuration files under the "repository".
Requirements:
Net::Telnet
Perl
What's New in This Release:
CiscoCAT.pm has been contributed, adding support for Cisco CatOS devices.
fetchconfig 0.4 keywords