Configuration Guide Vol. 1


6.5.3 Transferring files using zmodem command

Use the zmodem command to transfer files between the Switch and the console connected by an RS232C cable.

<Structure of this section>

(1) To transfer a backup configuration file to the Switch

After transferring the backup configuration file to your home directory on a Switch (/usr/home/operator), copy it to the startup configuration by using the copy operation command. The following figure shows an example of transferring a backup configuration file to the Switch by using the zmodem command.

Figure 6-22: Example of transferring a backup configuration file to the Switch (zmodem command)
> cd /usr/home/operator
> zmodem get backup.cnf                                     ..1
**B000000027fed4
**B000000027fed4
> enable
# copy /usr/home/operator/backup.cnf startup-config         ..2
Configuration file copy to startup-config ? (y/n): y        ..3
#
  1. Transfer the backup configuration file. The file name after transfer is the same as the specified source file name.

  2. Use the backup configuration file (backup.cnf) as the startup configuration.

  3. A confirmation message asking whether you want to replace the existing startup configuration appears.

(2) To transfer the backup configuration file to the console

The following figure shows an example of transferring a backup configuration file stored in the Switch to the console.

Figure 6-23: Example of transferring a backup configuration file to the console
> cd /usr/home/operator
> enable
# copy running-config backup.cnf                   ..1
Configuration file copy to /usr/home/operator/backup.cnf? (y/n) : y
# exit
> zmodem put backup.cnf                            ..2
**000000000000
>
  1. Copy the running configuration file to the backup configuration file.

  2. Transfer the backup configuration file.