Wired Intelligent Edge (Campus Switching and Routing)

Reply
Highlighted
Contributor I

Automatically backup config to scp or tftp when “wr me”

 
In Cisco, I can automatically backup config using scp or tftp to other location every time I issue “wr me”
How to achieve the same in other brand?
 
CISCO:
archive
path scp://root:eve@10.0.10.70/$h
write-memory
 
HP:
 
 
Highlighted

Re: Automatically backup config to scp or tftp when “wr me”

Hi,

 

Not sure if this is possible. Until now I didn't saw this. there are multiple ways in manually making backup's and upload them via SFTP / FTP in single commands. There is also option to restore these backups without reboot. In order to achieve similar process like your I see a lot of organizations enable the following snmp trap:

snmp-server enable traps startup-config-change

 

when the management system than receives this trap it automatically makes backup. Maybe this will also work for you.

 

Regard, Dobias

Highlighted

Re: Automatically backup config to scp or tftp when “wr me”

in Juniper I tried below commands to auto rollack of config.

 

[edit system archival configuration]
archive-sites {
ftp://username<:password>@host-address<:port>/url-path;
scp://username<:password>@host-address<:port>/url-path;
}
transfer-interval interval;
transfer-on-commit;
Highlighted
MVP Guru Elite

Re: Automatically backup config to scp or tftp when “wr me”

There is also

 

auto-tfp command too ?



PowerArubaSW: Powershell Module to use Aruba Switch API for Vlan, VlanPorts, LACP, LLDP... More info

PowerArubaCP: Powershell Module to use ClearPass API (create NAD, Guest...) More info

PowerArubaCX: Powershell Module to use ArubaCX API (get interface/vlan/ports info)

PowerArubaIAP: Powershell Module to use Aruba Instant AP

PowerArubaMC: Powershell Module to use Mobility Controller / Master


ACMP 6.4 / ACMX #107 / ACCP 6.5 / ACSP
Highlighted
Contributor I

Re: Automatically backup config to scp or tftp when “wr me”

switch(config)# crypto key generate ssh
switch(config)# ip ssh filetransfer
TFTP and auto-TFTP are now disabled because they cannot be secured with SSH. TFTP can be reenabled with the 'tftp' command.

 

auto-tftp no longer enabled by default because not secure

Highlighted
Contributor II

Re: Automatically backup config to scp or tftp when “wr me”

Hello,

 

you should try creating an alias with the commands you need.

 

alias new-wrmem "wr mem

copy running sftp lala@x.x.x.x

password"

 

I don't believe you can SCP directly from a switch though.

 

Aarón

Search Airheads
cancel
Showing results for 
Search instead for 
Did you mean: