beautypg.com

Displaying acl definitions, Displaying acls using keywords, Numbered acl – Brocade Virtual ADX Security Guide (Supporting ADX v03.1.00) User Manual

Page 48

background image

36

Brocade Virtual ADX Security Guide

53-1003250-01

Configuring numbered and named ACLs

2

Displaying ACL definitions

To display the ACLs configured on a device, use the show ip access-lists command. Here is an
example.

Virtual ADX (config)#show ip access-lists

Extended IP access list 101

deny tcp host 10.157.22.26 host 10.157.22.26 eq http

Syntax: show ip access-lists [num]

The show access-list and show ip access-list commands have been updated to display ACL entries
with line numbers.

Numbered ACL
For a numbered ACL, you can enter a command such as the following.

Virtual ADX (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 variable.

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

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

Virtual ADX (config)#ip show access-list standard melon 3

Standard IP access-list melon

deny host 10.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 variable or the ACL number for acl-number.

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

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.

Virtual ADX (config)#show access-list 99

Standard IP access-list 99

deny host 10.2.3.4

permit host 10.6.7.8

permit host 10.10.11.12