beautypg.com

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

Page 49

background image

Brocade Virtual ADX Security Guide

37

53-1003250-01

Configuring numbered and named ACLs

2

permit any

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 99 | begin 5

Standard IP access-list 99

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 99 | include 5

Standard IP access-list 99

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.

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

Standard IP access-list 99

deny host 10.2.3.4

permit any

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

Syntax: show 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 the
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 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.

Named ACLs

You may have the following numbered ACL.

Virtual ADX (config)#show access-list melon

Standard IP access-list melon

deny host 10.2.3.4

permit host 10.6.7.8

permit host 10.10.11.12

permit any