Xmodem: Copying a configuration file from a serially connected PC or UNIX workstation (CLI)

To use this method, the switch must be connected via the serial port to a PC or UNIX workstation on which is stored the configuration file you want to copy. To complete the copying, you need to know the name of the file to copy and the drive and directory location of the file.

Syntax:


copy xmodem startup-config {<pc | unix>}

copy xmodem config <filename> < {pc | unix>}

Copies a configuration file from a serially connected PC or UNIX workstation to a designated configuration file on the switch.

For more information, see "Multiple Configuration Files" in the basic operation guide for your switch.

Example:

To copy a configuration file from a PC serially connected to the switch:

Procedure
  1. Execute the following command:
    switch# copy xmodem startup-config pc
    Device will be rebooted, do you want to continue [y/n]? y
    Press 'Enter' and start XMODEM on your host...
    
  2. After you see the above prompt, press [Enter].
  3. Execute the terminal emulator commands to begin the file transfer.
  4. When the download finishes, you must reboot the switch to implement the newly downloaded software. To do so, use one of the following commands:

    Syntax:

    
    boot system flash [primary | secondary]
    
    
    boot system flash [config < filename >]
    

    Switches boot from the designated configuration file. For more information, see "Multiple Configuration Files" in the basic operation guide for your switch.

    Syntax:

    
    reload
    

    Reboots from the flash image currently in use.

    (For more on these commands, see "Rebooting the Switch" in the basic operation guide for your switch.)