4
Command Line Interface
Related Commands
show ip access-list (4-127)
show ip access-group
This command shows the ports assigned to IP ACLs.
Command Mode
Privileged Exec
Example
Console#show ip access-group
Interface ethernet 1/25
IP standard access-list david
Console#
Related Commands
ip access-group (4-127)
MAC ACLs
The commands in this section configure ACLs based on hardware addresses,
packet format, and Ethernet type. To configure MAC ACLs, first create an access list
containing the required permit or deny rules, and then bind the access list to one or
more ports
Command
access-list mac
permit, deny
show mac access-list
mac access-group
show mac access-group
access-list mac
This command adds a MAC access list and enters MAC ACL configuration mode.
Use the no form to remove the specified ACL.
Syntax
[no] access-list mac acl_name
acl_name – Name of the ACL. (Maximum length: 16 characters)
Default Setting
None
4-128
Table 4-2 MAC ACL Commands
Function
Creates a MAC ACL and enters configuration mode
Filters packets matching a specified source and
destination address, packet format, and Ethernet type
Displays the rules for configured MAC ACLs
Adds a port to a MAC ACL
Shows port assignments for MAC ACLs
Mode
Page
GC
4-128
MAC-ACL
4-129
PE
4-131
IC
4-131
PE
4-132