5000 Series Layer 2/3 Managed Data Center Switch CLI Reference Guide
1193
12-70 remark
This command adds a new remark to the ACL rule.
Use the remark keyword to add comments (remarks) to ACL rule entries belonging to an IPv4, IPv6, MAC,
or ARP ACL. Up to L7_ACL_MAX_RULES_PER_LlST*10 remarks per ACL and up to 10 remarks per
ACL rule can be configured. Also, up to L7_ACL_MAX_RULES*2 remarks for all QOS
ACLs(lPv4/IPv6/MAC) for device can be configured. The total length of the remark cannot exceed 100
characters. A remark can contain characters in the range A-Z, a-z, 0-9, and special characters like space,
hyphen, underscore. Remarks are associated to the ACL rule that is immediately created after the
remarks are created. If 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
.
Remarks can only be added before creating the rule. If a user creates up to 10 remarks, each of them is
linked to the next created rule.
Use the
no
command remove a remark from an ACL access-list.
When the first occurrence of the remark in ACL is found, the remark is deleted. Repeated execution of
this command with the same remark removes the remark from the next ACL rule that has the remark
associated with it (if there is any rule configured with the same remark). If there are no more rules with
this remark, an error message is displayed.
If there is no such remark associated with any rule and such remark is among not associated remarks, it
is removed.
remark remark
no remark remark
Parameters
remark
Enter remark string.
Default
The default is None.
Command Mode
•
IPv4-Access-List Config
•
lPv6-Access-List-Config
•
MAC-Access-List Config
•
ARP-Access-List Config
Example
The following shows an example of the command.
(Config)#arp access-list new
(Config-arp-access-list)#remark “test1”
(Config-arp-access-list)#permit ip host 1.1.1.1 mac host 00:01:02:03:04:05
(Config-arp-access-list)#remark “test1“
(Config-arp-access-list)#remark “test2”
(Config-arp-access-list)#remark “test3”
(Config-arp-access-list)#permit ip host 1.1.1.2 mac host 00:03:04:05:06:07
Содержание 5000 Series
Страница 1: ...Draft 1 2 1 ...
Страница 141: ...5000 Series Layer 2 3 Managed Data Center Switch CLI Reference Guide 135 ...