xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
582
75
REMOTE COPY PROTOCOL (RCP) COMMANDS
RCP is a UNIX Remote Shell service which allows files to be copied between a server and client. RCP is an application
that operates above the TCP protocols, and uses port number 514 as the TCP destination port.
The RCP application uses client server architecture and the client can be any machine running the RCP client
application.
A Switch that supports the RCP client allows users to copy firmware images, configurations and log files between the
Switch and RCP Server.
Switches that do not support a file system should still be able to run an RCP client to copy firmware images,
configurations and logs between the switch and RCP server.
The Remote Copy Protocol (RCP) commands in the Command Line Interface (CLI) are listed (along with the appropriate
parameters) in the following table.
Command
Parameters
config rcp server
{ipaddress <ipaddr> | username <username 15>}
config rcp server clear
[ipaddr | username | both]
show rcp server
download firmware_fromRCP
[{ username <username 15>} {<ipaddr>} src_file <path_filename 64> |rcp:<string
128>] {unit [<unit_id 1-12> | all]} {dest_file <pathname 64>} {boot_up}
upload firmware_toRCP
[{ username <username 15>}{<ipaddr>} dest_file <path_filename 64>
|rcp:<string 128>] {src_file <pathname 64>}
download cfg_fromRCP
[{ username <username 15>} {<ipaddr>} src_file <path_filename 64> |rcp:<string
128>] {dest_file <pathname 64>}
upload cfg_toRCP
[{ username <username 15>}{<ipaddr>} dest_file <path_filename 64>
|rcp:<string 128>] {src_file <pathname 64>} {[include | exclude | begin]
<filter_string 80> {<filter_string 80>{<filter_string 80>}} {[include | exclude |
begin] <filter_string 80> {<filter_string 80> {<filter_string 80>}} {[include | exclude
| begin] <filter_string 80> {<filter_string 80> {<filter_string 80>}}}}}
upload log_toRCP
[{ username <username 15>}{<ipaddr>} dest_file <path_filename 64>
|rcp:<string 128>]
upload attack_log_toRCP
[{ username <username 15>}{<ipaddr>} dest_file <path_filename 64>
|rcp:<string 128>] {unit <unit_id 1-12>}
Each command is listed, in detail, in the following sections.
config rcp server
Purpose
Configure the global RCP server information.
Syntax
config rcp server {ipaddress <ipaddr> | username <username 15>}
Description
This command is used to configure the global RCP server information. This global RCP
Server setting can be used when the Server or remote user name is not specified.
ONLY one RCP server can be configured for each system.
If a user does not specify the RCP Server in the CLI command, and the global RCP Server
was not configured, the Switch will ask the user to input the Server IP address or remote user
name while executing the RCP commands.
Parameters
ipaddress
- The IP address of the global RCP Server. By default, the server is unspecified.