Reference Guide

ACL Commands 97
Example
The following example, binds (services) an ACL to VLAN 2.
show access-lists
The show access-lists Privileged EXEC mode command displays access control lists (ACLs)
defined on the device.
Syntax
show access-lists
[
name
]
name
—Name of the ACL.
Default Configuration
This command has no default configuration.
Command Mode
Privileged EXEC mode
User Guidelines
There are no user guidelines for this command.
Examples
The following example displays the access lists.
show interfaces access-lists
The show interfaces access-lists Privileged EXEC mode command displays access lists applied
on interfaces.
Syntax
show interfaces access-lists
[
vlan
vlan-id
]
vlan-id
—VLAN number.
Console(config)# interface vlan 2
Console(config-if)# service-acl input macl-1
Console# show access-lists
MAC access list macl-1
deny host 66:66:66:66:66:66