114
Cisco Nexus 5500 Series NX-OS Security Command Reference
OL-27883-02
Chapter I Commands
ip access-group
This command does not require a license.
Examples This example shows how to apply an IPv4 ACL named ip-acl-01 to the Layer 3 Ethernet interface 2/1:
switch# configure terminal
switch(config)# interface ethernet 2/1
switch(config-if)# no switchport
switch(config-if)# ip access-group ip-acl-01 in
This example shows how to remove an IPv4 ACL named ip-acl-01 from Ethernet interface 2/1:
switch# configure terminal
switch(config)# interface ethernet 2/1
switch(config-if)# no switchport
switch(config-if)# ip access-group ip-acl-01 in
switch(config-if)# no ip access-group ip-acl-01 in
Related Commands Command Description
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.