46 configuring file management, 1 configuring file types and location, 2 copying configuration files by using tftp – CANOGA PERKINS 9175 Configuration Guide User Manual
Page 272
CanogaOS Configuration Guide
46-1
46 Configuring File Management
Creating configuration files can aid in your switch configuration. Configuration files can
contain some or all of the commands needed to configure one or more switches. For
example, you might want to download the same configuration file to several switches that
have the same hardware configuration.
46.1 Configuring file types and location
Startup configuration files are used during system startup to configure the software; the
startup configuration is stored in the flash memory.
46.2 Copying configuration files by using TFTP
You can download a switch configuration file from a TFTP server or upload the file from
the switch to a TFTP server. You download a switch configuration file from a server to
upgrade the switch configuration. You can overwrite the current file with the new one.
You upload a switch configuration file to a server for backup purposes; this uploaded file
can be used for future downloads to the same or another switch of the same type.
46.2.1 Preparing to download or upload a configuration file by using TFTP
Before you begin downloading or uploading a configuration file by using TFTP, do these
tasks:
• Ensure that the workstation acting as the TFTP server is properly configured.
• Ensure that the switch has a route to the TFTP server. The switch and the TFTP
server must be in the same subnetwork if you do not have a router to route traffic
between subnets. Check connectivity to the TFTP server by using the ping
command.
• Ensure that the configuration to be downloaded is in the correct directory on the
TFTP server.
• For download operations, ensure that the permissions on the file are set correctly.
• During upload operations, if you are overwriting an existing file (including an
empty file, if you had to create one) on the server, ensure that the permissions on
the file are set correctly.
46.2.2 Downloading a configuration file by using TFTP
You can download a new configuration file and replace the current file or keep the
current file.
DUT#copy tftp://10.10.10.163/startup-config.conf
flash:/startup-config.conf
Get a new configuration file from remote TFTP
server.
DUT#show startup-config
Verify your entries.
46.2.3 Uploading
a
configuration file by using TFTP
You can upload a configuration file from the switch to a TFTP server. You can later
download this file to the switch or to another switch of the same type.