Displaying acls using keywords, Numbered acl – Brocade Communications Systems ServerIron ADX 12.4.00a User Manual

Page 78

Advertising
background image

64

ServerIron ADX Security Guide

53-1002440-03

Configuring numbered and named ACLs

2

ServerIronADX(config)# show access-list 99 3

Standard IP access-list 99

deny 10.10.10.1

deny 192.168.1.13

permit any

Syntax: show access-list <acl-number> [<line-number>]

Enter the ACL’ number for the <acl-number> parameter.

Determine from which line you want the displayed information to begin and enter that number for
the <line-number> parameter.

Named ACL
For a named ACL, enter a command such as the following.

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.

Advertising