upload debug
Description
Uploads debug information files to a tftp server. On a platform that has both primary and backup MSMs/MMs, debug information files are uploaded from both the backup and primary MSMs/MMs.
Syntax Description
hostname | Specifies the host name of the TFTP server to which the debug files will be uploaded to. |
ipaddress | Specifies the IP address of the TFTP server to which the debug files will be uploaded to. |
vr_name | Specifies the name of the virtual router. |
block_size | Specifies the data block size, excluding TFTP header. Data block size ranges from 24-65000 bytes. |
Default
By default, the virtual router VR-Mgmt will be used.
If you do not specify block size, the default value is 1400 bytes.
Usage Guidelines
Note
Use this command only under the guidance of Extreme Networks Technical Support personnel to troubleshoot the switch.
Use this command to copy, upload debug information (for example, core, trace, show tech-support, configuration, and policy files) to the specified TFTP server.
Progress messages are displayed that indicate the file being copied and when the copying is finished. Depending on your platform, the switch displays a message similar to the following:
The following files on have been uploaded: Tarball Name: TechPubsLab_C_09271428.tgz ./primary.cfgYou can also use this command in conjunction with the show tech-support command. Prior to uploading debug information files, the switch prompts you with the following message to run the show tech command with the logto file option:
Do you want to run show tech logto file first? (y/n)Enter y to run the show tech-support command before uploading debug information. If you enter y, the show_tech.log.tgz file is included during the upload. Enter n to upload debug information without running the show tech command.
After you upload the debug information, you should see a compressed TAR file, which contains the debug information.
The TAR file naming convention is:
<SysName>_<{<slot#>|A|B}I|C>_<Current Time>.tgz - Current Time = mmddhhmm ( month(01-12), date(01-31), hour(0-24), minute(00-59) ).
Example
The following command uploads debug files to a network TFTP server:
upload debug 10.10.10.10
History
This command was first available in ExtremeXOS 11.6.
Block size support was added in ExtremeXOS 15.7.1.
Platform Availability
This command is available on all platforms.