A SERVICE OF

logo

File Transfers
Transferring ACL Command Files
Xmodem: Uploading an ACL Command File from a Serially
Connected PC or UNIX Workstation
Syntax:
copy xmodem command-file < unix | pc >
Uses Xmodem to copy and executes 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. (Refer to “Creating an ACL
Offline” in the “Access Control Lists (ACLs)” chapter in
the latest Access Security Guide for your switch.)
Adds to an existing ACL.
USB: Uploading an ACL Command File from a USB Device
Syntax:
copy usb command-file < filename.txt > < unix | pc >
where:
< 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.
This command 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. (Refer to “Creating an ACL
Offline” in the “Access Control Lists (ACLs)” chapter in
the latest Access Security Guide for your switch.)
Adds to an existing ACL.
For example, suppose you:
1. Created an ACL command file named vlan10_in.txt to update an existing
ACL.
2. Copied the file to a USB flash drive.
A-38