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