Using TFTP to Upload the Configuration
You can upload the current configuration to a TFTP server on
your network. Using TFTP, the uploaded configuration file retains your system configuration
and is saved in XML format. This allows you to send a copy of the configuration file to
Extreme Networks Technical Support
for problem-solving purposes.
-
To view your current switch configuration, use the show configuration {module-name} {detail}
command available on your switch. Do not use a text editor to view or modify your
XML-based switch configuration files.
-
To upload the configuration from the switch to a TFTP
server, you can use either the tftp or the tftp put
command:
tftp [ ip-address | host-name ] { -v
vr_name } { -b
block_size } [ -g | -p ] [ -l
local-file { -r
remote-file } | -r
remote-file { -l
local-file } ]
Where the options are:
-
host-name — Specifies the host name of the
TFTP server
-
ip-address — Specifies the IP address of
the TFTP server
-
-p — Puts the specified file from the
local host and copies it to the TFTP server
-
-l
local-file — Specifies the
name of the configuration file that you want to save to the TFTP server
-
-r
remote-file — Specifies the
name of the configuration file on the TFTP server
tftp put [ ip-address | host-name] {vr
vr_name} {block-size
block_size}local-file { remote-file}
Where the options are:
-
put —P uts the specified file from the
local host and copies it to the TFTP server
-
host-name — Specifies the host name of the
TFTP server
-
ip-address — Specifies the IP address of
the TFTP server
-
local-file — Specifies the
name of the configuration file that you want to save to the TFTP server
-
remote-file — Specifies the
name of the configuration file on the TFTP server
If you upload a configuration file and see the following message:
Error: No such file or directory
Check to make sure that you entered the filename correctly, including the .cfg extension,
and that you entered the correct host name or IP address for the TFTP server.
If your upload is successful, the switch displays a message similar to the
following:
Uploading megtest1.cfg to TFTPhost ... done!