131
Cisco Nexus 5500 Series NX-OS Security Command Reference
OL-27883-02
Chapter I Commands
ip port access-group
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 Description
interface vethernet Configures avirtual Ethernet interface.
ip access-list Configures an IPv4 ACL.
show access-lists Displays all ACLs.
show ip access-lists Shows either a specific IPv4 ACL or all IPv4 ACLs.
show running-config
interface
Shows the running configuration of all interfaces or of a specific interface.