The remark can go before or after a permit or deny
statement. You should be consistent about where you put the remark so it is clear which remark
describes which permit or deny statement. It would be confusing to have some remarks before the
associated permit or deny statements and some remarks after the associated statements.
To add a comment to a named IP ACL, use the command remark remark in access list
con?¬?guration mode. To add a comment to a numbered IP ACL, use the command access-list
access-list-number remark remark.
The following is an example of adding a comment to a numbered ACL:
access-list 101 remark Permitting_John to Telnet to Server
access-list 101 permit tcp host 10.1.1.2 host 172.16.1.1 eq telnet
The following is an example of adding a comment to a named ACL:
ip access-list standard PREVENTION
remark Do not allow Jones subnet through
deny 171.69.0.0 0.0.255.255
Summary of Con?¬?guring ACLs
The following summarizes the key points that were discussed in this section:
?– Standard IPv4 ACLs allow you to ?¬?lter based on source IP address.
?– Extended ACLs allow you to ?¬?lter based on source IP address, destination IP address,
protocol, and port number.
Pages:
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364