Examples
This example shows how to apply a MAC ACL named mac-acl-01 to Ethernet interface 2/1:
switch# configure terminal
switch(config)# interface ethernet 2/1
switch(config-if)# mac port access-group mac-acl-01
This example shows how to remove a MAC ACL named mac-acl-01 from Ethernet interface 2/1:
switch# configure terminal
switch(config)# interface ethernet 2/1
switch(config-if)# no mac port access-group mac-acl-01 in
Related Commands
DescriptionCommand
Configures a MAC ACL.mac access-list
Displays all ACLs.show access-lists
Shows either a specific MAC ACL or all MAC ACLs.show mac access-lists
Shows the running configuration of all interfaces or
of a specific interface.
show running-config interface
Cisco Nexus 7000 Series Security Command Reference
499
M Commands
mac port access-group