ZyXEL DSLAM Configuration Backup

I wrote a little Python script to automatically retrieve the configuration files from a bunch of ZyXEL DSLAMs. You can find it at http://pastebin.com/raw.php?i=vFpnhndJ.

The script takes an external file called dslams.csv. It serves as a list of all your DSLAMs that you want to backup the config from and uses a very simple format:


dslam1.name, 1.1.1.1
dslam2.name, 1.1.1.2
...

Note that the DSLAM names are declarative only and need not correspond with the DNS hostnames. Furthermore, you might use DNS hostnames instead of IP addresses.

You also need to edit the script and set the ZyXEL Web Configurator username and password in the dslamUser and dslamPass variables accordingly before you can use it.

Once the script runs, it will save DSLAM configs as dslam.name_YYYYMMDDhhmm.dat

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s