M Commands
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
Command
mac access-list
show access-lists
show mac access-lists
show running-config interface
Description
Configures a MAC ACL.
Displays all ACLs.
Shows either a specific MAC ACL or all MAC ACLs.
Shows the running configuration of all interfaces or
of a specific interface.
Cisco Nexus 7000 Series Security Command Reference
mac port access-group
499