Technical data

56 ServerIron ADX NAT64 Configuration Guide
53-1002288-02
Configuring numbered and named ACLs
4
DRAFT: BROCADE CONFIDENTIAL
ServerIronADX(config)# ip show access-list standard melon 3
Standard IP access-list melon
deny host 5.6.7.8
deny 192.168.12.3
permit any
Syntax: show ip access-list <acl-name> | <acl-number> [<line-number>]
Enter the ACL name for the <acl-name> parameter or the ACL’s number for <acl-number>.
Determine from which line you want the displayed information to begin and enter that number for
the <line-number> parameter.
Displaying ACLs using keywords
You limit the displayed ACL entries to those that contain a specified keyword.
Numbered ACL
You may have the following numbered ACL.
ServerIronADX(config)# show access-list 99
Standard IP access-list 99
deny host 1.2.3.4
permit host 5.6.7.8
permit host 5.10.11.12
permit any
If you want to display ACL entries beginning with the entry that contains the keyword “5” enter the
following command.
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
Since the second entry is the first entry that contains the keyword “5”, the display begins with line
2.
If you want to display only the ACL entries that contain the keyword “5” enter the following
command.
ServerIronADX(config)#show access-list 99 | include 5
Standard IP access-list 99
permit host 5.6.7.8
permit host 5.10.11.12
The second and third entries in the ACL contain the keyword “5” and are displayed in the show
access-list.
If you want to exclude ACL entries that contain a keyword from the show access-list display, enter
the following command.
ServerIronADX(config)# show access-list 99 | exclude 5
Standard IP access-list 99
deny host 1.2.3.4
permit any
The second and third ACL entries are left out from the display.