HPE D6020 Maintenance And Service Manual page 179

Hide thumbs Also See for HPE D6020:
Table of Contents

Advertisement

Predefined user roles
network-admin
Parameters
-s source-ip: Specifies the source IPv4 address for packets sent to the Rsync server. The IP address
must have been configured on the device. If you do not specify this option, the device uses the
primary IPv4 address of the outgoing interface as the source IPv4 address.
rsync-server: Specifies the IPv4 address or host name of the Rsync server. The host name must be
a case-insensitive string of 1 to 253 characters. Valid characters include letters, digits, hyphens (-),
underscores (_), and dots (.).
source-file: Specifies the file to be synchronized.
source-directory: Specifies the directory to be synchronized.
destination-directory: Specifies the destination directory on the device.
user-name: Specifies the username used to log in to the Rsync server. The user account must have
been configured on the Rsync server.
password: Specifies the password used to log in to the Rsync server. This password must be the
same as the password configured on the Rsync server.
Usage guidelines
The following matrix shows the command and hardware compatibility:
Hardware
MSR954 (JH296A/JH297A/JH298A/JH299A/JH373A)
MSR958 (JH300A/JH301A)
MSR1002-4/1003-8S
MSR2003
MSR2004-24/2004-48
MSR3012/3024/3044/3064
MSR4060/4080
This command is available only for an IPv4 network.
The source file or directory name string must meet the requirements of the Rsync server. For
example, Linux requires that you use the module name of a directory as the root directory. If the
module name for the /usr/test directory is testmod, you must use testmod as the root directory.
To synchronize the /usr/test/a.txt file to a local directory, you must specify testmod/a.txt as the
source file.
To synchronize the /usr/test/dir1 directory to a local directory, you must specify testmod/dir1
as the source directory.
If you specify a source directory, the command uses the following rules:
If the source directory ends with a slash (/), for example, testmod/dir1/, this command
synchronizes the files and directories in the source directory to the destination directory.
If the source directory does not end with a slash (/), for example, testmod/dir1, this command
performs the following tasks:
Creates the dir1 directory in the destination directory if the dir1 directory does not exist.
Synchronizes files and directories in the source directory to the dir1 directory.
Command compatibility
Yes
Yes
No
No
No
No
No
171

Advertisement

Table of Contents
loading

Table of Contents