Backing up switch configuration data

Procedure
Before you shutdown the switches, take a backup from all the required switches:
  • In case of Cumulus switches, ssh to the switch and take a backup of the following files from all the required Mellanox switches:
    • Switch Port attributes

      /etc/network/interfaces
    • Routing Application

      /etc/frr/frr.conf
    • Breakout cable configuration file

      /etc/cumulus/ports.conf
    • ONIE version and cumulus linux version

      /
  • In case of Aruba switches, back up the running configuration to a file on a remote server (using TFTP):
    copy running-config sftp://root@<IP address>/backup_cfg json vrf mgmt
    The sample output is as follows:
    switch# copy running-config sftp://root@xx.xx.xx.xx/backup_cfg json vrf mgmt
    Configuration changes will take time to process, please be patient.
    The authenticity of host 'xx.xx.xx.xx (xx.xx.xx.xx)' can't be established.
    RSA key fingerprint is SHA256:4u6frUPTityJ5ZH4TPeDl7GIcWLah4CjR/JHeNAlXHM.
    Are you sure you want to continue connecting (yes/no)? yes
    Warning: Permanently added 'xx.xx.xx.xx' (RSA) to the list of known hosts.
    root@xx.xx.xx.xx's password:
    Connected to xx.xx.xx.xx.
    Changing to: /root/.
    sftp> put backup_cfg backup_cfg
    Uploading backup_cfg to /root/backup_cfg