Tool Documentation:

copy-router-config Usage Example

Copy the config from the router (192.168.1.1) to the TFTP server (192.168.1.15), authenticating with the community string (private):

[email protected]:~# copy-router-config.pl 192.168.1.1 192.168.1.15 private

merge-router-config Usage Example

Merge the config with the router (192.168.1.1), copying from the TFTP server (192.168.1.15), using the community string (private):

[email protected]:~# merge-router-config.pl 192.168.1.1 192.168.1.15 private


Packages and Binaries:

copy-router-config

This package copies configuration files from Cisco devices running SNMP.

Installed size: 12 KB
How to install: sudo apt install copy-router-config

Dependencies:
  • perl-cisco-copyconfig
copy-router-config.pl
[email protected]:~# copy-router-config.pl -h

######################################################
# Copy Cisco Router config  - Using SNMP
# Hacked up by muts - [email protected]
#######################################################

Usage : ./copy-copy-config.pl <router-ip> <tftp-serverip> <community> 

Make sure a TFTP server is set up, prefferably running from /tmp ! 


merge-router-config.pl
[email protected]:~# merge-router-config.pl -h

######################################################
# Merge Cisco Router config  - Using SNMP
# Hacked up by muts - [email protected]
#######################################################

Usage : ./merge-copy-config.pl <router-ip> <tftp-serverip> <community> 

Make sure a TFTP server is set up, prefferably running from /tmp ! 


Updated on: 2022-Aug-05