Users Guide

Layer 2 Switching Commands 291
remark
Use the remark command to add a comment to an ACL rule. Use the no form
of the command to remove a comment from an ACL rule.
Syntax
remark comment
no remark comment
• comment—Each remark line is limited to 100 characters. The remark may
consist of characters in the range A-Z, a-z, 0-9, and special characters like
space, hyphen, underscore. The total length of the remark must not exceed
100 characters.
Default Configuration
No remarks are present by default.
Command Mode
IPv4 Access-list Configuration mode, IPv6 Access-list Configuration mode,
MAC Access-list Configuration mode, ARP Access-list Configuration mode
The no form of the command is executed in Global Configuration mode.
User Guidelines
The administrator can use the remark keyword to add comments to ACL rule
entries belonging to an IPv4, IPv6, MAC or ARP ACL. Remarks are associated
with the ACL rule that is created immediately after the remarks are created.
When the ACL rule is removed, the associated remarks are also deleted.
Remarks are shown only in show running-config and are not displayed in
show ip access-lists.
The no remark command removes the first matching remark from an ACL
access-list. Repeated execution of this command with the same remark
comment removes the remark from the next ACL rule which associated with
the comment (if there is any rule configured with the same comment) or an
error message is displayed if there are no matching comments.