Using the CLI 204Configuration ManagementAll managed systems have software images and databases that must beconfigured, backed up and restored. Two software images may be stored onthe system, but only one of them is active. The other one is a backup image.The same is true for configuration files, which store the configurationparameters for the switch. The system has three configuration files. One file isa memory-only file and is the current configuration file for the switch. Thesecond file is the one that is loaded by the system when it reboots. There isone backup configuration file. The system also provides methods to back upthese files to a remote system.File System CommandsAll files are stored in a flat file system. The commands shown in Table 2-6 areused to perform operations on these files.Copying FilesThe copy command not only provides a method for copying files within thefile system, but also to and from remote servers. With the copy command andURLs to identify files, the user can back up images to local or remote systemsor restore images from local or remote systems.To use the copy command, the user specifies the source file and thedestination file. For example, copytftp://remotehost/pub/backupfile backup-config copies a file from the remote TFTP server to a local backupconfiguration file. In this case, if the local configuration file does not exist,then it is created by the command. If it does exist, it is overwritten. If there isnot enough space on the local file system to accommodate the file, an error isflagged.Table 2-6. File System CommandsCommand Descriptiondeletefile Deletes file.filedescrfile description Adds a description to a file (up to 20characters can be used).copysource destination Copies a file from source file to destinationfile.