Accton Technology ES3552XA, ES3526XA manual ACL Information, Show access-list, Show access-group

Models: ES3526XA ES3552XA

1 512
Download 512 pages 41.9 Kb
Page 357
Image 357

 

 

 

 

 

 

 

 

Access Control List Commands

4

ACL Information

 

 

 

 

 

 

Table 4-39 ACL Information

 

 

 

 

 

 

 

 

 

 

 

Command

Function

Mode

 

Page

 

 

 

 

 

 

 

show access-list

Show all ACLs and associated rules

PE

 

4-115

 

 

 

 

 

 

 

show access-group

Shows the ACLs assigned to each port

PE

 

4-115

 

 

 

 

 

 

 

 

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.16.0 255.255.240.0 IP extended access-list bob:

permit 10.7.1.1 255.255.255.0 any

permit 192.168.1.0 255.255.255.0 any destination-port 80 80

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

permit any host 00-30-29-94-34-de ethertype 800 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#

show access-group

This command shows the port assignments of ACLs.

Command Mode

Privileged Executive

Example

Console#show access-group

Interface ethernet 1/25

IP standard access-list david

MAC access-list jerry

Console#

4-115

Page 357
Image 357
Accton Technology ES3552XA, ES3526XA manual Show access-list, Show access-group, ACL Information Command Function Mode