Creating Standard ACLs
When creating a numbered standard ACL on a Cisco IOS router, the ACL must first be created on the device and then applied to an interface to filter traffic. Numbered standard ACLs use the following range of numbers:
- 1 to 99
- 1,300 to 1,999
To create a numbered standard ACL on a Cisco IOS router, use the access-lists
global configuration command followed by a number within the range 1 to 99 or 1300 to 1999 on the device. With this range of numbers, there can be up to 798 unique standard ACLs on a single router.
The following is the full syntax used to create a numbered standard ACL:
Router(config)# access-list access-list-number [ deny | permit | remark ] source [ source-wildcard ][ log ]
Note
The remark
command will allow you to insert a description for the ACL and the log
command will generate a syslog message when matches are found. Additionally, there can be more than one ACE within an ACL.
The following are some examples of...