Management and Configuration Guide K/KA/KB.15.15

Using a PC workstation, you then execute the following from the CLI to upload the
file to the switch and implement the ACL commands it contains:
HP Switch(config)# copy tftp command-file 18.38.124.16
vlan10_in.txt pc
The switch displays this message:
Running configuration may change, do you want to continue
[y/n]?
To continue with the upload, press the [Y] key. To abort the upload, press the [N]
key. Note that if the switch detects an illegal (non-ACL) command in the file, it
bypasses the illegal command, displays a notice (as shown in Figure 127 (page 283)),
and continues to implement the remaining ACL commands in the file.
Figure 127 Using the copy command to download and configure an ACL
Uploading an ACL command file using Xmodem
Syntax
copy xmodem command-file [ unix | pc ]
Uses Xmodem to copy and execute an ACL command from a PC or UNIX
workstation. 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.
USB: Uploading an ACL command file from a USB device
Syntax
copy usb command-file filename.txt [ unix | pc ]
Transferring ACL command files 283