Backup D-Link switch config using TFTP server.
You must have Expect installed.
upload-cfg.exp SWITCH_IP USERNAME PASSWORD TFTP_SERVER_IP
- Edit
upload-cfgs.sh
: changeUSERNAME
,PASSWORD
andTFTP
values. - Edit
switches
: add your switches. - Run
upload-cfgs.sh
.