Use HTTP to export a file from the switch to a computer

You can upload (export) files of various types from the switch to a computer through an HTTP session on your web browser.

To use HTTP to export a file from the switch to a computer:

  1. Open a web browser and log in to the switch. For more information, see Log in to the main UI with a known IP address.
    The System Information page displays.
  2. Select Maintenance > Export > HTTP File Export.

    The HTTP File Export page displays.

  3. From the File Type menu, select the type of file that must be exported:
    • Text Configuration: A text-based configuration file enables you to edit a configured text file (startup-config) offline as needed. The most common usage of text-based configuration is to upload a working configuration from a device, edit it offline to personalize it for another similar device (for example, change the device name or IP address), and download it to that device. This is the default setting.

    • Error Log: The switch error persistent log, also referred to as the event log.

    • Buffered Log: The system buffered (in-memory) log.

    • Trap Log: The trap log with the switch trap records.

    • Script File: The script file that you must specify in the Local File Name field.

    • CLI Banner: The CLI banner file.

    • Tech Support: The tech support file is a text-based file that contains a variety of hardware, software, and configuration information that can assist in device and network troubleshooting.

    • Crash Logs: The switch crash logs, if any are available.

    • Backup Configuration: The backup configuration file is a text-based file.

    • CPU Packets Capture File: The CPU packets capture file with the captured and stored CPU packets.

    • Factory Default Configuration: The factory default configuration file is a text-based file with the stored factory default configuration.

  4. If you select Script File from the File Type menu, specify the name of the script file in the Local File Name field.
  5. Click the Apply button.

    The file is exported (uploaded) to the computer. The page displays information about the progress of the file transfer.