149
Cisco Nexus 5500 Series NX-OS Security Command Reference
OL-27883-02
Chapter       M Commands
mac port access-group
This example shows how to remove a MAC ACL named mac-acl-01 from Ethernet interface 1/2:
switch(config)# interface ethernet 1/2 
switch(config-if)# no mac port access-group mac-acl-01 
switch(config-if)#
This example shows how to apply a MAC ACL named mac-acl-03 to a specific virtual Ethernet interface:
switch# configure terminal
switch(config)# interface vethernet 1
switch(config-if)# mac port access-group mac-acl-03
switch(config-if)#
Related Commands Command Description
interface vethernet Configures a virtual Ethernet interface.
mac access-list  Configures a MAC ACL.
show access-lists  Displays all ACLs.
show mac access-lists  Shows either a specific MAC ACL or all MAC ACLs.
show running-config 
interface 
Shows the running configuration of all interfaces or of a specific interface.