access-list (extended) Configuring Access Lists
Enterasys Matrix DFE-Gold Series Configuration Guide 24-17
Defaults
•Ifinsert,replaceormovearenotspecified,thenewentrywillbeappendedtotheaccesslist.
•Ifsource2isnotspecifiedwithmove,onlyoneentrywillbemoved.
Mode
Routercommand,Globalconfiguration:Matrix>Router(config)#
Usage
Validaccess‐list‐numbersforstandardACLsare1to99.ForextendedACLs,validvaluesare100to
199.
The“no”formofthiscommandremovesthedefinedaccesslistorentry.
Examples
Thisexampleshowshowtoallowaccesstoonlythosehostsonthethreespecifiednetworks.The
wildcardbitsapplytothehostportionsofthenetworkaddresses.Anyhostwithasourceaddress
thatdoesnotmatchtheaccessliststatementswillberejected:
Matrix>Router(config)#access-list 1 permit 192.5.34.0 0.0.0.255
Matrix>Router(config)#access-list 1 permit 128.88.0.0 0.0.255.255
Matrix>Router(config)#access-list 1 permit 36.0.0.0 0.255.255.255
Thisexamplemovesentry16tothebeginningofACL22:
Matrix>Router(config)#access-list 22 move 1 16
access-list (extended)
UsethiscommandtodefineanextendedIPaccesslistbynumberwhenoperatinginroutermode.
Syntax
access-list access-list-number [ insert | replace entry] | [log 1-5000 | all] [move
destination source1 [source2]] {deny | permit} protocol source [source-wildcard]
[operator [port]] destination [destination-wildcard] [operator [port]]
[tos-extensions][icmp-type [icmp-code] [established] [log]
To insert or replace an ACL entry:
access-list access-list-number insert | replace entry
To move entries within an ACL:
access-list access-list-number move destination source1 [source2]
To log entries within an ACL:
access-list access-list-number log 1-5000 | all
Important Notice
Configuring extended access control lists (ACLs) is an advanced routing feature that must be enabled with a
license key. If you have purchased an advanced routing license and have enabled routing on the device, you
must activate your license as described in “Activating Advanced Routing Features” on page 21-1 in order to
enable the extended access list command set. If you wish to purchase an advanced routing license, contact
Enterasys Networks Sales.