
ACL Commands
97
DELL CONFIDENTIAL – PRELIMINARY 9/13/06 – FOR PROOF ONLY
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 inte
r
faces 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