ACL Commands 99
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
[
ethernet
interface
|
port-channel
port-channel-number
]
•
Interface
— Specifies the Valid Ethernet port. (Full syntax: unit/port)
•
port-channel-number
— Specifies the port-channel index.
Default Configuration
This command has no default configuration.
Console# show access-lists
MAC access list macl-1
deny host 66:66:66:66:66:66
book.book Page 99 Thursday, December 18, 2008 7:40 PM