Configuration and Image File Commands
OL-32830-01 Command Line Interface Reference Guide
258
10
Examples
Example 1 - The following example copies system image file1 from the TFTP
server 172.16.101.101 to the non-active image file.
switchxxxxxx#
copy tftp:
//172.16.101.101/file1
image
Accessing file 'file1' on 172.16.101.101...
Loading file1 from 172.16.101.101:
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
! [OK]
Copy took 0:01:11 [hh:mm:ss]
Example 2 - Copying an Image from a Server to Flash Memory
The following example copies a system image named file1 from the TFTP server
with an IP address of 172.16.101.101 to a non-active image file.
switchxxxxxx#
copy tftp:
//172.16.101.101/file1 flash://image
Accessing file 'file1' on 172.16.101.101...
Loading file1 from 172.16.101.101:
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! [OK]
Copy took 0:01:11 [hh:mm:ss]
Example 3 - Copying the mirror-config file to the startup-configuration file
The following example copies the mirror configuration file, saved by the system, to
the Startup Configuration file.
switchxxxxxx#
copy mirror-config startup-config
Example 4 - Copy file1 from SCP server to startup config
Summary of Contents for 300 Series
Page 2: ......