Skip to main content

Back up TOR switch configurations

Before beginning the update procedure, ensure that both TOR switch configurations have been backed up.

Although switch configuration backup can be done using XClarity Administrator v2.1 and later, switch CLI commands are provided here since a serial connection and USB thumb drive are used for the steps in this appendix.

For the two TOR switches running CNOS, use these steps:

  1. Connect to the TOR1 switch via serial console from the HLH.
  2. Insert the USB thumb drive into the TOR1 switch.
  3. Sign in to the TOR1 switch using the credentials admin/<password>.
  4. Use the following commands to copy the currently running configuration to the startup configuration and save the configuration file to the root of the USB thumb drive:
    enable
    cp running-config startup-config
    cp startup-config usb1 TOR1StartupBackup.cfg
    system eject-usb

  5. You can now remove the USB thumb drive from the TOR1 switch.
  6. Connect to the TOR2 switch via serial console from the HLH.
  7. Insert the USB thumb drive into the TOR2 switch.
  8. Sign in to the TOR2 switch using the credentials admin/<password>.
  9. Use the following commands to copy the currently running configuration to the startup configuration and save the configuration file to the root of the USB thumb drive:
    enable
    cp running-config startup-config
    cp startup-config usb1 TOR2StartupBackup.cfg
    system eject-usb

  10. You can now remove the USB thumb drive from the TOR2 switch.
The TOR switch configurations are now backed up to the USB drive in case issues are encountered during switch updating and the switches need to be recovered to the current configuration.