Remark - Cisco Nexus 5500 Series Command Reference Manual

Nx-os security command reference
Hide thumbs Also See for Nexus 5500 Series:
Table of Contents

Advertisement

Chapter
R Commands

remark

To enter a comment into an IPv4 or MAC access control list (ACL), use the remark command. To
remove a remark command, use the no form of this command.
Syntax Description
sequence-number
remark
Command Default
No ACL contains a remark by default.
Command Modes
IPv4 ACL configuration mode
MAC ACL configuration mode
Command History
Release
5.2(1)N1(1)
Usage Guidelines
The remark argument can be up to 100 characters. If you enter more than 100 characters for the remark
argument, the switch accepts the first 100 characters and drops any additional characters.
Examples
This example shows how to create a remark in an IPv4 ACL and display the results:
switch(config)# ip access-list acl-ipv4-01
switch(config-acl)# 100 remark this ACL denies the marketing department access to the lab
switch(config-acl)# show access-list acl-ipv4-01
OL-27883-02
[sequence-number] remark remark
no {sequence-number | remark remark}
(Optional) Sequence number of the remark command, which causes the
switch to insert the command in that numbered position in the access list.
Sequence numbers maintain the order of rules within an ACL.
A sequence number can be any integer between 1 and 4294967295.
By default, the first rule in an ACL has a sequence number of 10.
If you do not specify a sequence number, the switch adds the rule to the end
of the ACL and assigns to it a sequence number that is 10 greater than the
sequence number of the preceding rule.
Use the resequence command to reassign sequence numbers to remarks and
rules.
Text of the remark. This argument can be up to 100 characters.
Modification
This command was introduced.
Cisco Nexus 5500 Series NX-OS Security Command Reference
remark
227

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents