User guide

104 ExtremeWarePx1 1.2 Command Reference Guide
Commands for Managing the Switch
upload configuration
upload configuration
[<IP address> | <hostname>]
<filename>
{primary | secondary}
Description
Uploads the current conÞguration to a TFTP server on your network.
Syntax Description
Default
N/A.
Usage Guidelines
You must have administrator privileges to issue this command.
The uploaded ASCII Þle retains the command-line interface (CLI) format. This allows you to do the
following:
¥ Modify the conÞguration using a text editor, and later download a copy of the Þle (using the
download configuration command) to the same switch, or to one or more different switches.
¥ Send a copy of the conÞguration Þle to Extreme Networks Technical Support for problem-solving
purposes.
Use of the hostname parameter requires that DNS be enabled.
Example
The following command uploads the current primary conÞguration to the Þle configbackup.txt on the
TFTP server named tftphost:
upload configuration tftphost configbackup.txt primary
History
This command was available in ExtremeWarePx 1.1.
IP address The IP address of the TFTP server.
hostname The host name of the TFTP server.
filename A name for the file where the configuration is to be saved.
The filename can be up to 255 characters long, and cannot include any
spaces, commas, quotation marks, or special characters. Unless you include a
path with the filename, this command places the file in the same directory as
the TFTP server itself.
primary Specifies that the primary configuration should be uploaded.
secondary Specifies that the secondary configuration should be uploaded.