Administrator Guide

Layer 2 Switching Commands 280
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 charact
ers.
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.
Command History
Updated in 6.3.0.1 firmware
Example
console(config)#arp access-list new
console(config-arp-access-list)#remark “test1”
console(config-arp-access-list)#permit ip host 1.1.1.1 mac host
00:01:02:03:04:05
console(config-arp-access-list)#remark “test1”
console(config-arp-access-list)#remark “test2”
console(config-arp-access-list)#remark “test3”
2CSNXXX_SWUM204.book Page 280 Monday, January 25, 2016 1:25 PM