Mellanox MLNX-OS User Manual for SX1018HP Ethernet Managed Blade Switch

Rev 2.10
Mellanox Technologies
197
Mellanox Technologies Confidential
logging files upload
logging files upload {current | <file-number>} <url>
Uploads a log file to a remote host.
Syntax Description current The current log file.
The current log file will have the name “messages” if
you do not specify a new name for it in the upload
URL.
file-number An archived log file.
The archived log file will have the name “mes-
sages<n>.gz” (while “n” is the file number) if you do
not specify a new name for it in the upload URL. The
file will be compressed with gzip.
url Uplaods URL path.
FTP, TFTP, SCP, and SFTP are supported. For exam-
ple: scp://username[:password]@hostname/path/file-
name.
Default 10 files are kept by default with rotation criteria of 5% of the log partition size
Configuration Mode Config
History 3.1.0000
Role admin
Example
switch (config) # logging files uplaod 1 scp://admin@scpserver
Related Commands show logging
show log files
Note