5-2
<Sysname> cd ..
# Return to the root directory.
<Sysname> cd /
# Enter the root directory of the flash on a slave with the member ID 2 after logging in to the master.
<Sysname> cd slot2#flash:/
# Change the current directory from the file system of the slave to the
test
folder under the root
directory of the master.
<Sysname> cd flash:/test
copy
Syntax
copy
fileurl-source fileurl-dest
View
User view
Default Level
3: Manage level
Parameters
fileurl
-
source
: Name of the source file.
fileurl
-
dest
: Name of the target file or folder.
Description
Use the
copy
command to copy a file.
If you specify a target folder, the system will copy the file to the specified folder and use the name of
the source file as the file name.
Examples
# Copy file
testcfg.cfg
under the current folder and save it as
testbackup.cfg
.
<Sysname> copy testcfg.cfg testbackup.cfg
Copy flash:/test.cfg to flash:/testbackup.cfg?[Y/N]:y
....
%Copy file flash:/test.cfg to flash:/testbackup.cfg...Done.
# After logging in to the master, copy the configuration file of the master to the root directory of a slave
(with the member ID 2).
<Sysname> copy vrcfg.cfg slot2#flash:/
Copy flash:/vrcfg.cfg to slot2#flash:/vrcfg.cfg?[Y/N]:y
%Copy file flash:/vrcfg.cfg to slot2#flash:/vrcfg.cfg...Done.
Summary of Contents for E4510-48G
Page 109: ...2 18 Sysname interface bridge aggregation 1 Sysname Bridge Aggregation1 shutdown ...
Page 309: ...6 4 Sysname interface vlan interface 1 Sysname Vlan interface1 ip address dhcp alloc ...
Page 324: ...8 3 Sysname interface vlan interface 1 Sysname Vlan interface1 ip address bootp alloc ...
Page 530: ...2 5 Sysname mvlan 100 subvlan 10 to 15 ...
Page 739: ...8 15 Sysname system view Sysname port security trap addresslearned ...
Page 819: ...13 11 Sysname system view Sysname public key peer key2 import sshkey key pub ...
Page 914: ...5 17 Sysname reset oam ...
Page 1064: ...5 30 Slot 2 Set next configuration file successfully ...
Page 1325: ...21 13 Examples Redirect to member 2 Sysname irf switch to 2 Sysname Slave 2 ...