xStack
®
DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual
487
upload log_toRCP
rcp: <string 128>
- Syntax: rcp: username@ipaddr/directory/filename
Example for FULL path: [email protected]/home/user_name/desxxxx.had
Example for relative path: [email protected]./desxxxx.had
NOTE:
No SPACES are allowed in the whole <string>.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To upload the log from the device to an RCP server:
DGS-3450:admin# upload log_toRCP username rcp_user 172.18.212.104 dest_file /home/DGS-
XXXX.log
Command: upload log_toRCP username rcp_user 172.18.212.104 dest_file /home/DGS-XXXX.log
Connecting to server... Done.
Upload log............. Done.
DGS-3450:admin#
To upload log from the device to an RCP server using an RCP string:
DGS-3450:admin# upload log_toRCP rcp: [email protected]/home/DGS-XXXX.log
Command: upload log_toRCP rcp: [email protected]/home/DGS-XXXX.log
Connecting to server................... Done.
Upload configuration................... Done.
DGS-3450:admin#
upload attack_log_toRCP
Purpose
Upload attack log file from the device to an RCP server.
Syntax
upload attack_log_toRCP [{username <username 15>} {<ipaddr>} {dest_file}
<path_filename 64> | rcp: <string 128>] {unit <unit_id 1-12>}
Description
This command is used to upload the system attack log file from the device to an RCP server.
Parameters
username
- The remote user name on the RCP Server.
ipaddr
- The IP address of the RCP server.
path_filename
- The pathname specifies the pathname on the RCP server or local RCP
client.
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.
If a user only specifies the path_filename parameter for the RCP server, it will upload the
master attack log file.
unit
- Specifies which unit on the stacking system. If not specified, it refers to the master unit.
rcp: <string 128>
- Syntax: rcp: username@ipaddr/directory/filename
Example for FULL path: [email protected]/home/user_name/desxxxx.had
Example for relative path: [email protected]./desxxxx.had
NOTE:
No SPACES allowed in the whole <string>.
Restrictions
Only Administrator and Operator-level users can issue this command.