© Copyright Lenovo 2016
Chapter 4: Configuration Commands
673
USB Copy
If
a
USB
drive
is
inserted
into
the
USB
port,
you
can
copy
files
from
the
switch
to
the
USB
drive,
or
from
the
USB
drive
to
the
switch.
You
also
can
boot
the
switch
using
software
or
configuration
files
found
on
the
USB
drive
(see
).
Copy to USB
Use
the
following
command
to
copy
a
file
from
the
switch
to
the
USB
drive:
usbcopy
tousb
<filename>
{active|boot|crashdump|image1|image2|
|syslog}
Command
mode
:
Privileged
EXEC
In
this
example,
the
active
configuration
file
is
copied
to
a
directory
on
the
USB
drive:
Copy from USB
Use
the
following
command
to
copy
a
file
from
the
USB
drive
to
the
switch:
usbcopy
fromusb
<filename>
{active|boot|image1|image2}
Command
mode:
Privileged
EXEC
In
this
example,
the
active
configuration
file
is
copied
from
a
directory
on
the
USB
drive:
The
new
file
replaces
the
current
file.
Note:
Do
not
use
two
consecutive
dot
characters
(
..
).
Do
not
use
a
slash
character
(
/
)
to
begin
a
filename.
RS G8332#
usbcopy
tousb
a_folder/myconfig.cfg
active
RS G8332#
usbcopy
fromusb
a_folder/myconfig.cfg
active
Summary of Contents for RackSwitch G8332
Page 20: ...20 G8332 Command Reference for ENOS 8 4 ...
Page 32: ...32 G8332 Command Reference for ENOS 8 4 ...
Page 674: ...674 G8332 Command Reference for ENOS 8 4 ...
Page 708: ...708 G8332 Command Reference for ENOS 8 4 ...
Page 732: ...732 G8332 Command Reference for ENOS 8 4 ...
Page 750: ...750 G8332 Command Reference for ENOS 8 4 ...
Page 766: ...766 G8332 Command Reference for ENOS 8 4 Taiwan Class A compliance statement ...