Procedure
1.
Issue the
copy usb flash
command as shown below:
Figure 38: The command to copy switch software from USB
2.
When the switch finishes copying the software file from the USB device, it displays this progress message:
Validating and Writing System Software to the Filesystem....
3.
When the save finishes, you must reboot the switch to load the newly loaded software.
4.
To confirm that the software downloaded correctly, execute
show system
and check the
Software revision
line.
copy usb command-file
Syntax
copy usb command-file <
FILENAME.TXT
> [unix|pc]
Description
Copies and executes the named text file from a USB flash drive and executes the ACL commands in the file.
Depending on the ACL commands used, this action does one of the following in the running-config file:
• Creates a new ACL.
• Replaces an existing ACL.
• Adds to an existing ACL.
Parameters
<FILENAME.TXT>
A text file containing ACL commands and stored in the USB flash drive.
unix
|
pc
The type of workstation used to create the text file.
Upload an ACL command file from USB
Using a PC workstation, execute the following from the CLI to upload the file to the switch and implement the ACL
commands it contains:
switch(config)# copy usb command-file vlan10_in.txt pc
The switch displays this message:
Running configuration may change, do you want to continue
[y/n]?
Chapter 11 File Transfers
371