Backup Baystack 350T

Check out rancid.

formatting link
It's cisco oriented, but it's not too difficult to copy/modify the right scripts to handle baystack devices.

Reply to
Frank Sweetser
Loading thread data ...

Hello,

I'm a newbee, i want to backup with scripts Baystack 350 T. I thought of this scripts:

but after login, i don't know:

#! /usr/bin/perl -w

sub Connect { $PE = ('xxx.xxx.xxx.xxx'); $PasswordPe = ('xx'); $TimeNet = 300; #$TimeCmd = 15; $mode = "return"; $filename = "D:/nortel.txt";

use Net::Telnet (); if ($firstses = Net::Telnet->new(Host => $PE,Timeout => $TimeNet, Errmode => $mode)) { $firstses->input_log($filename); $firstses->open($PE); $firstses->waitfor('Enter Ctrl-Y to begin.'); $firstses->print("\\cY"); $firstses->waitfor('Enter Password:'); $firstses->print("$PasswordPe"); $firstses->print("g test"); # i'm in the Configuration File Download/Upload menu, with "test" for Configuration Image Filename $firstses->close; $firstses->close; }

}
Reply to
tomsdel

thank's for your answer.

Reply to
tomsdel

Cabling-Design.com Forums website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.