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.
in Juniper I tried below commands to auto rollack of config.
There is also
auto-tfp command too ?
switch(config)# crypto key generate sshswitch(config)# ip ssh filetransferTFTP 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
you should try creating an alias with the commands you need.
alias new-wrmem "wr mem
copy running sftp email@example.com
I don't believe you can SCP directly from a switch though.
At Aruba, we believe that the most dynamic customer experiences happen at the Edge. Our mission is to deliver innovative solutions that harness data at the Edge to drive powerful business outcomes.
© Copyright 2021 Hewlett Packard Enterprise Development LPAll Rights Reserved.