Technical data

ServerIron ADX NAT64 Configuration Guide 63
53-1002288-02
Displaying a list of ACL entries
4
DRAFT: BROCADE CONFIDENTIAL
The standard | extended parameter indicates the ACL type.
The <acl-name> parameter is the ACL name. You can specify a string of up to 256 alphanumeric
characters. You can use blanks in the ACL name if you enclose the name in quotation marks (for
example, “ACL for Net1”). The <acl-num> parameter allows you to specify an ACL number if you
prefer. You can specify a number from 1 – 99 for standard ACLs or 100 – 199 for extended ACLs.
The insert <line-number> parameter indicates into which entry the comment is to be added. The
replace <line-number> command indicates which remarks 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 access-list 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 options for the ACL entry.
Deleting a remark from a named ACL
To delete a remark from a named ACL, enter the following command.
ServerIronADX(config)# ip access-list standard melon
ServerIronADX(config-std-nacl)# delete 3 remark
Syntax: delete <line-number> remark
Displaying a list of ACL entries
The show access-list and show ip access-list commands displays ACL entries with line numbers.
Numbered ACLs
To display the contents of numbered ACLs, enter a command such as the following.
ServerIronADX# show access-list 99
Standard IP access list 99
deny host 1.2.4.5
deny host 5.6.7.8
permit any
Syntax: show access-list <acl-num> | all
Named ACLs
To display the contents of named ACLs, enter a command such as the following.
ServerIronADX# show ip access-list melon
Standard IP access list melon
deny host 1.2.4.5
deny host 5.6.7.8
permit any
Syntax: show ip access-list <acl-num> | <acl-name>