84. Utility Commands
940
84.8. upload log_toRCP
Description
This command is used to upload a log file from the device to a Remote Copy Protocol
(RCP) server.
Format
upload log_toRCP [{username <username>} {<ipaddr>} dest_file <path_filename 64> |
rcp: <string 128>]
Parameters
Restrictions
Only Administrator and Operator-level users can issue this command.
Example
To upload the log from the device to an RCP server:
To upload log from the device to an RCP server using an RCP string:
username(Optional) Specify the remote user name on the RCP server.
<username>
Specify the remote user name on the RCP server.
<ipaddr>(Optional) Specify the IP address of the RCP server.
dest_file Specify the path name of the RCP server. Note: If a user specifies the relative file path, the
path search strategy will depend on the server system. For some systems, the current
user working directory will be searched first, followed by the environment paths.
<path_filename 64>
Specify the path name of the RCP server.
rcp:
Specify the path name on the RCP server.
<string 128>
Specify the path name on the RCP server.
Syntax: rcp: username@ipaddr/directory/filename.
Example for full path: [email protected]/home/user_name/desxxxx.rom;
Example for relative path: [email protected]./desxxxx.rom;
Note: No spaces are allowed in the <string>.
Zxxx0:admin#upload log_toRCP username rcp_user 172.18.212.104 dest_file /home/
Zxxx0.log
Command: upload log_toRCP username rcp_user 172.18.212.104 dest_file /home/
Zxxx0.log
Connecting to server................... Done.
Upload log............................. Done.
Success.
Содержание ZEQUO 6400
Страница 158: ...12 Basic IP Commands 159 Zxxx0 admin config ipif System vlan v1 Command config ipif System vlan v1 Success Zxxx0 admin ...
Страница 160: ...12 Basic IP Commands 161 ...
Страница 189: ...17 Command Logging Command List 190 ...
Страница 554: ...49 MAC based Access Control Commands 555 ...
Страница 644: ...58 Network Monitoring Commands 645 Zxxx0 admin clear attack_log Command clear attack_log Success Zxxx0 admin ...
Страница 812: ...69 QoS Commands 813 ...
Страница 839: ...73 SNMPv1 v2 v3 Commands 840 Only Administrator level users can issue this command ...
Страница 962: ...85 Virtual Router Redundancy Protocol VRRP Command List 963 ...
Страница 1050: ...91 System Log Lists 1051 ...