6 configuration and image files, 1 copy, Syntax – Planet Technology WGSW-48040 User Manual
Page 185
User’s Manual of WGSW-24020/WGSW-48040
-18
176.1.8.179 Secondary AFE21789.643287C9
5.6 Configuration and Image Files
5.6.1 copy
The copy privileged EXEC command copies files from a source to a destination.
Syntax
copy source-url destination-url
[snmp]
source-url — The source file location URL or reserved keyword being copied.
destination-url — The destination file URL or reserved keyword.
snmp — Used only when copying from /to startup-config. Specifies that the destination/source file is inSNMP format.
The following table displays keywords aliases to URL:
Keyword
Source or destination
running-config
Represents the current running configuration file.
startup-config Represents
the
startup configuration file.
backup-config Represents
the
backup configuration file.
Image
The image is executable code which is decompressed during system startup, into the
switching and routing software that manages the device. There are always two
images stored in the device flash known as "image-1" and "image-2". The images do
not necessarily have to contain the same versions of the software. One of these
images is always marked as active and the other image serves as a back-up. The
"active" image is either the last downloaded image or the image configured as the
"active" image. The switch boot code first tries to load and run the active image.
However, if the active image is found to be corrupt, the boot code tries to load the
back-up image. If the backup image is also corrupt the boot code prompts the user to
initiate the Xmodem
transfer of a valid image through the serial connection. The image file name is in the
format 6024_abcd.dos, where abcd represents the release number.
boot
Boot file. The name of the image is in the format 6024_boot_abcd.rfb, where
abcd represents the release number.
tftp
Source or destination URL for a TFTP network server. The syntax for this alias
is tftp:[[//location]/directory]/filename.