beautypg.com

Brocade Virtual ADX Security Guide (Supporting ADX v03.1.00) User Manual

Page 50

background image

38

Brocade Virtual ADX Security Guide

53-1003250-01

Configuring numbered and named ACLs

2

If you want to display ACL entries beginning with the entry that contains the keyword “5” enter the
following command.

Virtual ADX (config)#show access-list melon | begin 5

Standard IP access-list melon

permit host 10.6.7.8

permit host 10.10.11.12

permit any

Since the second entry is the first entry that contains the keyword “5”, the display begins with
line 10.

If you want to display only the ACL entries that contain the keyword “5” enter the following
command.

Virtual ADX (config)#show access-list melon | include 5

Standard IP access-list melon

permit host 10.6.7.8

permit host 10.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.

The second and third ACL entries are left out from the display.

Syntax: show ip access-list acl-number | begin | exclude | include keyword

Enter the ACL number for the acl-number variable.

Use the | operator to indicate a keyword.

Enter the begin keyword parameter to start the display beginning with the first line containing text
that matches the keyword. For example, if you enter begin Total, the displayed information begins
with the line containing the word “Total”.

Enter the exclude keyword parameter to exclude any lines containing text that match the keyword.
For example, if you enter exclude Total, any line containing the word “Total” is excluded from the
display.

Enter the include keyword to display only those lines containing text that match the keyword. For
example, if you enter include Total, any line containing the word “Total” is included in the display.

If ACL entries, for both numbered and named ACLs, have remarks, the display

will also include the remarks if they contain characters that match the

specified keywords. For example, ACL 99 might contain the following entries:

Virtual ADX (config)#show access-list 99

Standard IP access-list 99

ACL Remark: Deny Building A

deny host 10.2.3.4

Permit First Floor Users

permit host 10.6.7.8

deny host 10.10.11.12

permit any

Virtual ADX (config)#show access-list melon | exclude 5

Standard IP access-list melon

deny host 10.2.3.4

permit any