Technical data
ServerIron ADX NAT64 Configuration Guide 61
53-1002288-02
Modifying ACLs
4
DRAFT: BROCADE CONFIDENTIAL
ServerIronADX(config)# show access-list 99
Standard IP access-list 99
deny host 1.2.4.5
Permit all users
permit host 5.6.7.8
permit any
Syntax: access-list <acl-num> insert <line-number> | replace <line-number> remark
<comment-text>
Simply entering access-list <acl-num> remark <comment-text> adds a remark to the next ACL
entry you create.
The insert <line-number> parameter indicates into which entry the comment is to be added.
The replace <line-number> parameter indicates which entry’s remark will be replaced.
The remark <comment-text> adds a comment to the ACL entry. The remark can have up to 128
characters in length. The comment must be entered separately from the actual ACL entry; that is,
you cannot enter the ACL entry and the ACL comment with the same command. Also, in order for
the remark to be displayed correctly in the output of show commands, the comment must be
entered immediately before the ACL entry it describes.
Complete the syntax by specifying any options you want for the ACL entry.
Numbered ACLs: deleting a comment
To delete a remark from a named ACL entry, enter the following command.
ServerIronADX(config)# access-list 99 delete 2 remark
Syntax: delete <line-number> remark
Named ACLs: adding a comment to a new ACL
You can add, insert, replace, and delete ACL entry remarks. To add a comment, do the following.
1. Use the show access-list command to display the contents of the ACL. For example, you may
have an ACL named "melon" and a show access-list command shows that it has only one entry.
2. Add a new entry with a remark to this named ACL by entering commands such as the following.
ServerIronADX(config)# ip access-list standard melon
ServerIronADX(config-std-nacl)# remark Deny traffic from Marketing
ServerIronADX(config-std-nacl)# deny 5.6.7.8
3. Enter a show access-list command displays the new ACL entry with its remark.
ServerIronADX(config)# show access-list melon
Standard IP access-list melon
deny host 1.2.4.5
Deny traffic from Marketing
permit host 5.6.7.8
Syntax: ip access-list standard | extended <acl-name> | <acl-num>
Syntax: remark <comment-text>
ServerIronADX(config)#show access-list melon
Standard IP access-list 99
deny host 1.2.4.5