Administrator Guide

distribute-list prefix awe in
Dell(conf-router_ospf)#
ACL Remarks
While defining ACL rules, you can optionally include a remark to make the ACLs more descriptive. You can include a remark with
a maximum of 80 characters in length.
The remark command is available in each ACL mode. You can configure up to 4294967291 remarks for a given IP ACL and
65536 remarks for a given MAC ACL.
You can include a remark with or without a remark number. If you do not enter a remark number, the remark inherits the
sequence number of the last ACL rule. If there is no ACL rule when you enter a remark, the remark takes sequence number 5. If
you configure two remarks with the same sequence number and different strings, the second one replaces the first string. You
cannot configure two or more remarks with the same string and different sequence numbers.
To remove a remark, use the no remark command with the remark string and with or without the sequence number. If there is
a matching string, the system deletes the remark.
Configuring a Remark
To write a remark for an ACL, follow these steps:
1. Create either an extended IPv4 or IPv6 ACL.
CONFIGURATION mode
ip access-list {extended | standard} access-list-name
ipv6 access-list {extended | standard} access-list-name
2. Define the ACL rule.
CONFIG-EXT-NACL mode or CONFIG-STD-NACL
seq sequence-number {permit | deny} options
3. Write a remark.
CONFIG-EXT-NACL mode or CONFIG-STD-NACL
remark [remark-number] remark-text
The remark number is optional.
The following example shows how to write a remark for an ACL rule:
Dell(config-ext-nacl)#ip access-list extended test
Dell(config-ext-nacl)# remark permit any ip
Dell(config-ext-nacl)# seq 10 permit ip any any
Dell(config-ext-nacl)#sh config
!
ip access-list extended test
remark 10 permit any ip
seq 10 permit ip any any
Deleting a Remark
To delete a remark, follow this procedure:
A standard IP ACL uses the source IP address as its match criterion.
Use the no form of the following command:
CONFIG-EXT-NACL mode or CONFIG-STD-NACL
no remark [remark-number] [remark-text]
The remark number is optional.
126
Access Control Lists (ACLs)