Configuration Guide Vol. 1


6.5.4 Using MC to Transfer Files

Use the cp command to transfer files to a memory card.

<Structure of this section>

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

After transferring the backup configuration file from a memory card to your home directory (/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 cp command.

Figure 6-23: Example of transferring a file from a backup configuration file MC to the Switch (cp)
> cd /usr/home/operator
> cp mc-file backup.cnf backup.cnf                           ..1
> 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 from the memory card.

  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) When transferring a backup configuration file to MC

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

Figure 6-24: Example of transferring a backup configuration file to a MC
> cd /usr/home/operator
> enable
# copy running-config backup.cnf                          ..1
Configuration file copy to /usr/home/operator/backup.cnf? (y/n) : y
# exit
> cp backup.cnf mc-file backup.cnf                        ..2
>
  1. Copy the running configuration file to the backup configuration file.

  2. Transfer the backup configuration file to the memory card.