Technical data

80 ServerIron ADX NAT64 Configuration Guide
53-1002444-02
Displaying rule-based ACL entries
5
DRAFT: BROCADE CONFIDENTIAL
Displaying ACLs using numerical keywords
Using numerical keywords you can choose to view only those ACL entries that match a specified
numerical value, which can be useful for filtering ACL entries by the IP addresses they govern.
For example, consider an numbered ACL (99) that includes multiple entries. Entering the show
access-list command will return all of the entries.
ServerIronADX(config)# show access-list 99
Standard IP access-list 99
deny host 1.2.3.4
deny host 2.3.4.5
permit host 5.6.7.8
permit host 5.10.11.12
permit any
If you want to display only those ACL entries that begin with a specified numerical keyword, enter a
command using the begin <keyword> parameter such as the one in the following example.
ServerIronADX(config)# show access-list 99 | begin 5
Standard IP access-list 99
permit host 5.6.7.8
permit host 5.10.11.12
permit any
The command displays only those ACL entries that begin with the keyword “5”. ACL entries that do
not begin with this keyword are not displayed.
If you want to display all of the ACL entries that contain a numerical keyword regardless of position,
enter a command using the include <keyword> parameter such as the one in the following
example.
ServerIronADX(config)#show access-list 99 | include 5
Standard IP access-list 99
deny host 2.3.4.5
permit host 5.6.7.8
permit host 5.10.11.12
All of the ACL entries in the ACL that contain the keyword “5” and are displayed.
If you want to exclude ACL entries that contain a specified keyword, enter a command using the
exclude <keyword> parameter such as the one in the following example.
ServerIronADX(config)# show access-list 99 | exclude 5
Standard IP access-list 99
deny host 1.2.3.4
permit any
Because the second, third, and fourth ACL entries contain the keyword “5”, they are not displayed.
Syntax: show access-list <acl-number>| <acl-name>| begin | exclude | include <keyword>
The <acl-num> parameter allows you to specify an ACL number. If you specify a number, enter a
number from 1 through 99 for standard ACLs or 100 through 199 for extended ACLs.
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”).
Use the | operator to indicate a keyword.