logging files upload
logging files upload {current | <file-number>} <url>
Uploads a log file to a remote host.
Syntax Description
current
file-number
url
Default
10 files are kept by default with rotation criteria of 5% of the log partition size
Modes/Context
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
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.
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.
Uplaods URL path.
FTP, TFTP, SCP, and SFTP are supported. For exam-
ple: scp://username[:password]@hostname/path/file-
name.
Mellanox Technologies
Rev 1.6.2
124