Cisco Nexus 5000 Series Switch CLI Software Configuration Guide (OL-16597-01, July 2009)

Some configuration parameters when applied to an EtherChannel are not reflected on the configuration
of the member ports.
Note
Procedure
PurposeCommand or Action
Enters configuration mode.switch# configure terminal
Step 1
Enters interface configuration mode for the
specified interface.
switch(config)# interface {ethernet
[chassis/]slot/port | port-channel
channel-number}
Step 2
Applies an IPv4 or IPv6 ACL to the interface or
EtherChannel. Only inbound filtering is supported
switch(config-if)# {ip port access-group |
ipv6 port traffic-filter} access-list in
Step 3
with port ACLs. You can apply one port ACL to
an interface.
(Optional)
Displays ACL configuration.
switch# show running-config
Step 4
(Optional)
Copies the running configuration to the startup
configuration.
switch# copy running-config
startup-config
Step 5
Verifying IP ACL Configurations
To display IP ACL configuration information, perform one of the following tasks:
Procedure
PurposeCommand or Action
Displays ACL configuration, including IP ACL
configuration and interfaces that IP ACLs are applied
to.
switch# show running-config
Step 1
Displays the configuration of an interface to which you
have applied an ACL.
switch# show running-config
interface
Step 2
For detailed information about the fields in the output from these commands, refer to the Cisco Nexus 5000
Series Command Reference.
Displaying and Clearing IP ACL Statistics
Use the show ip access-lists and show ipv6 access-list commands to display statistics about an IP ACL,
including the number of packets that have matched each rule. For detailed information about the fields in the
output from this command, refer to the Cisco Nexus 5000 Series Command Reference.
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
286 OL-16597-01
Configuring IP ACLs
Verifying IP ACL Configurations