SMC Networks SMC8624/48T manual ACL Information, Show access-list

Models: SMC8624/48T

1 556
Download 556 pages 10.96 Kb
Page 392
Image 392

COMMAND LINE INTERFACE

Related Commands

show marking (4-134)

ACL Information

Table 4-29. ACL Information

Command

Function

Mode

Page

 

 

 

 

show access-list

Shows all ACLs and associated rules

PE

4-148

 

 

 

 

show access-group

Shows the ACLs assigned to each port

PE

4-149

 

 

 

 

show access-list

This command shows all ACLs and associated rules, as well as all the user-defined masks.

Command Mode

Privileged Exec

Command Usage

Once the ACL is bound to an interface (i.e., the ACL is active), the order in which the rules are displayed is determined by the associated mask.

Example

Console#show access-list

IP standard access-list david: permit host 10.1.1.21 permit 168.92.0.0 0.0.15.255

IP extended access-list bob: permit 10.7.1.1 0.0.0.255 any

permit 192.168.1.0 0.0.0.255 any dport 80

permit 192.168.1.0 0.0.0.255 any protocol tcp control-code 2 2 MAC access-list jerry:

permit any 00-30-29-94-34-de ethertype 800 IP extended access-list A6:

deny tcp any any control-flag 2 2 permit any any

IP ingress mask ACL:

mask protocol any any control-flag 2 Console#

4-148

Page 392
Image 392
SMC Networks SMC8624/48T manual ACL Information, Show access-list