Dell PowerConnect B-RX Configuration Manual page 621

Bigiron rx series supporting multi-service ironware v02.7.03
Hide thumbs Also See for PowerConnect B-RX:
Table of Contents

Advertisement

You can use the CLI to reorder entries within an ACL by individually removing the ACL entries and
then re-adding them. To use this method, enter "no" followed by the command for an ACL entry,
and repeat this for each ACL entry in the ACL you want to edit. After removing all the ACL entries
from the ACL, re-add them.
This method works well for small ACLs such as the example above, but can be impractical for ACLs
containing many entries. Therefore, the device provides an alternative method that lets you upload
an ACL list from a TFTP server and replace the ACLs in the device's running-config file with the
uploaded list. To change an ACL, you can edit the ACL on the file server, then upload the edited ACL
to the device. Then you can save the changed ACL to the device's startup-config file.
ACL lists contain only the ACL entries themselves, not the assignments of ACLs to interfaces. You
must assign the ACLs on the device itself.
NOTE
The only valid commands that are valid in the ACL list are the access-list and end commands; other
commands are ignored.
To modify an ACL by configuring an ACL list on a file server.
1. Use a text editor to create a new text file. When you name the file, use 8.3 format (up to eight
2. Optionally, clear the ACL entries from the ACLs you are changing by placing commands such as
3. Place the commands to create the ACL entries into the file. The order of the separate ACLs
4. Enter the command "end" on a separate line at the end of the file. This command indicates to
5. Save the text file.
6. On the device, enter the following command at the Privileged EXEC level of the CLI.
BigIron RX Series Configuration Guide
53-1001986-01
characters in the name and up to three characters in the extension).
NOTE
Make sure the device has network access to the TFTP server.
the following at the top of the file.
BigIron(config)#no access-list 1
BigIron(config)#no access-list 101
When you load the ACL list into the device, the software adds the ACL entries in the file after
any entries that already exist in the same ACLs. Thus, if you intend to entirely replace an ACL,
you must use the no access-list <num> command to clear the entries from the ACL before the
new ones are added.
does not matter, but the order of the entries within each ACL is important. The software applies
the entries in an ACL in the order they are listed within the ACL. Here is an example of some
ACL entries.
BigIron(config)#access-list 1 deny host 209.157.22.26 log
BigIron(config)#access-list 1 deny 209.157.22.0 0.0.0.255 log
BigIron(config)#access-list 1 permit any
BigIron(config)#access-list 101 deny tcp any any eq http log
The software will apply the entries in ACL 1 in the order shown and stop at the first match.
Thus, if a packet is denied by one of the first three entries, the packet will not be permitted by
the fourth entry, even if the packet matches the comparison values in this entry.
the software that the entire ACL list has been read from the file.
copy tftp running-config <tftp-ip-addr> <filename>
21
Modifying ACLs
549

Advertisement

Table of Contents
loading

This manual is also suitable for:

Bigiron rx series

Table of Contents