Page 591 / 757 Scroll up to view Page 586 - 590
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
587
DGS-3627:admin# download firmware_fromRCP src_file DGS-3627.had
Command: download firmware_fromRCP src_file DGS-3627.had
Using RCP Server IP: 172.18.212.106
Using RCP Server Username
: rcp_user
Connecting to server
...................
Done.
Download firmware
......................
Done.
Do not power off!
Please wait, programming flash
.........
Done.
Saving current settings to NV-RAM
......
Done.
DGS-3627:admin#
upload firmware_toRCP
Purpose
Upload firmware from device to RCP server.
Syntax
upload firmware_toRCP [{ username <username 15>}{<ipaddr>} dest_file
<path_filename 64> |rcp:<string 128>] {src_file <pathname 64>}
Description
This command is used to upload firmware from the device to the RCP server.
Parameters
username
- The remote user name on 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 path.
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 SPACE in the whole <string>.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To upload firmware to an RCP Server and rename the image file to DGS-3627-uploaded.had:
DGS-3627:admin# upload firmware_toRCP username rcp_user
172.18.212.106 dest_file
/home/DGS-3627-uploaded.had unit 1 image_id 2
Command: upload firmware_toRCP username rcp_user
172.18.212.106 dest_file /home/DGS-
3627-uploaded.had
Connecting to server
...................
Done.
Upload firmware
........................
Done.
DGS-3627:admin#
To upload firmware from a single image device to an RCP server using an RCP string:
Page 592 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
588
DGS-3627:admin# upload firmware_toRCP rcp: [email protected]/home/rcp_user/DGS-3627-
uploaded.had
Command: upload firmware_toRCP rcp: [email protected]/home/rcp_user/ DGS-3627-
uploaded.had
Connecting to server
...................
Done.
Upload firmware
........................
Done.
DGS-3627:admin#
To upload firmware on a switch that supports a file system:
DGS-3627:admin# upload firmware_toRCP rcp: [email protected] DGS-3627-R26B18.had
src_file RUN26B18.had
Command: upload firmware_toRCP rcp: [email protected] DGS-3627-R26B18.had src_file
RUN26B18.had
Connecting to server
...................
Done.
Upload firmware
........................
Done.
DGS-3627:4#
download cfg_fromRCP
Purpose
Download configuration file from the RCP server.
Syntax
download cfg_fromRCP [{ username <username 15>} {<ipaddr>} src_file
<path_filename 64> |rcp:<string 128>] {dest_file <pathname 64>}
Description
This command is used to download a configuration file from 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.
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 SPACE in the whole <string>.
Restrictions
Only Administrator level users can issue this command.
Example usage:
To download a configuration file from an RCP server:
Page 593 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
589
DGS-3627:admin# download cfg_fromRCP username rcp_user
172.18.212.106 src_file
/home/DGS-3627.cfg
Command: download cfg_fromRCP username rcp_user
172.18.212.106 src_file /home/DGS-
3627.cfg
Connecting to server
.................
…. Done.
Download configuration
.................
Done.
DGS-3627:admin#
To download a configuration using an RCP string:
DGS-3627:admin# download cfg_fromRCP rcp: [email protected]/home/DGS-3627.cfg
Command: download cfg_fromRCP rcp: [email protected]/home/DGS-3627.cfg
Connecting to server
...................
Done.
Download configuration
.................
Done.
DGS-3627:admin#
To download configuration on a device that supports a file system:
DGS-3627:admin# download cfg_fromRCP rcp: [email protected]/home/rcp_user/DGS-
3627.cfg dest_file bone_switch.cfg
Command: download cfg_fromRCP rcp: [email protected]/home/rcp_user/DGS-3627.cfg
dest_file bone_switch.cfg
Connecting to server
...................
Done.
Download configuration
.................
Done.
DGS-3627:admin#
upload cfg_toRCP
Purpose
Upload a configuration file from the device to an RCP server.
Syntax
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>}}}}}
Description
This command is used to upload a configuration file from the device to an RCP server.
If the remote filename is not specified, the default file name will be modelname-image-id.
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.Note:
If a user only specifies the path_filename parameter, only the current device configuration will
be uploaded.
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
Page 594 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
590
upload cfg_toRCP
Note:
No SPACES are allowed in the whole <string>.
filter_string
- A filter string is enclosed by the “symbol. Therefore, the filter string itself cannot
contain the “character. The filter string is case sensitive.
Restrictions
Only Administrator level users can issue this command.
Example usage:
To upload the configuration from a single-config device to an RCP server:
DGS-3627:admin# upload cfg_toRCP username rcp_user
172.18.212.104 dest_file /home/DGS-
3627.cfg
Command: upload cfg_toRCP username rcp_user
172.18.212.104 dest_file /home/DGS-3627.cfg
Connecting to server
.......................
Done.
Upload Configuration
.......................
Done.
DGS-3627:admin#
To upload the configuration from a file system supported device to an RCP Server:
DGS-3627:admin# upload cfg_toRCP username rcp_user
172.18.212.104 dest_file
/home/rcp_user/bone_switch.cfg src_file c:\DGS-3627.cfg
Command: upload cfg_toRCP username rcp_user
172.18.212.104 dest_file
/home/rcp_user/bone_switch.cfg src_file c:\DGS-3627.cfg
Connecting to server
.......................
Done.
Upload Configuration
.......................
Done.
DGS-3627:admin#
upload log_toRCP
Purpose
Upload a log file from the device to an RCP server.
Syntax
upload log_toRCP [{ username <username 15>}{<ipaddr>} dest_file <path_filename
64> |rcp:<string 128>]
Description
This command is used to upload a system log file from the device to an RCP server.
If a destination file is not specified the file name will be modelname-slog.
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.
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:
Page 595 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
591
To upload the log from the device to an RCP server:
DGS-3627: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-3627.log
Connecting to server... Done.
Upload log
.............
Done.
DGS-3627:admin#
To upload log from the device to an RCP server using an RCP string:
DGS-3627:admin# upload log_toRCP rcp: [email protected]/home/DGS-XXXX.log
Command: upload log_toRCP rcp: [email protected]/home/DGS-3627.log
Connecting to server
...................
Done.
Upload configuration
...................
Done.
DGS-3627: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 pathsNote:
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.
Example usage:
To upload the attack log from the device to an RCP server:

Rate

4.5 / 5 based on 2 votes.

Bookmark Our Site

Press Ctrl + D to add this site to your favorites!

Share
Top