logging logarchives copy
The square brackets [ ] surrounding the filename are required as part of the command.
This command copies system log files to a remote location.
Copies all system log files
files [ filename ]
Copies the specified system log file(s)
Note: The square brackets [ ] surrounding the filename are required as part of the command.
One or more existing system log files
The remote location where you want to copy the system log file(s)
scp:sftp|ftp:// [username@]host [:port]/[filepath]
username is the username to use on the remote server.
host is the host name or IP address of the remote server.
port is the protocol port number to use.
filepath is the filepath on the remote server.
If username is not specified, the current CLI session’s login name is used.
If port is not specified, the standard default SCP, FTP, or SFTP port is used.
If filepath is not specified, the file is copied to the SCP/FTP/SFTP user’s home directory.
The password associated with the specified username
If a password is not specified, the system prompts you for a password.
Note: The password must contain alphanumeric characters only.
A character string
Required Privilege Level
bti7800# logging logarchives copy files [ system.log ] remote-url ftp://firstname.lastname@example.org/logs
Value for 'password' (<string>): ************