system script upload
Upload the selected CLI session log
Availability: This command is available to cluster administrators at the admin privilege level.
Description
The system script upload
command uploads a CLI session record file to a remote location. Specify the remote location using an FTP or HTTP URI. Use the system script show command to display saved CLI sessions. Use the system script start command to record a CLI session and save it to a file.
Parameters
-username <text>
- Username If Not Your Own-
Use this parameter to specify the name of the user who owns the file to upload. By default, this is the user who is logged in.
-filename <text>
- Filename to Log To-
Use this parameter to specify the name of a file to be uploaded.
-destination {scheme://(hostname|IPv4 Address|'['IPv6 Address']')…}
- URI to Send File To-
Use this parameter to specify the FTP or HTTP destination of the file.
Examples
The following example shows how to upload the file named sessionlog3
to the destination ftp://now.example.com/cli_sessions
.
cluster1::> system script upload -filename sessionlog3 -destination ftp://now.example.com/cli_sessions