Applying An Ip Acl As A Vacl; Verifying Ip Acl Configurations - Cisco AJ732A - MDS 9134 Fabric Switch Configuration Manual

Cisco nexus 5000 series switch cli software configuration guide, nx-os 4.0(1a)n1 (ol-16597-01, january 2009)
Hide thumbs Also See for AJ732A - Cisco MDS 9134 Fabric Switch:
Table of Contents

Advertisement

Configuring IP ACLs
S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m
Command
Step 3
switch(config-if)# ipv6 port
traffic-filter <name> in
Step 4
switch(config-if)# ip port access-group
access-list in
Step 5
switch(config-if)# show running-config
Step 6
switch(config-if)# copy running-config
startup-config
The following example shows how to apply an IPv4 or IPv6 ACL to the port channel:
switch# configure terminal
switch(config)# interface port-channel 5
switch(config-if)# ip port access-group acl-l2-marketing-group in
switch(config-if)# show running-config
switch(config-if)# copy running-config startup-config
This example shows how to create an IPv4 ACL named acl-01 and apply it to Ethernet interface 2/1,
which is a Layer 2 interface:
ip access-list acl-01
permit ip 192.168.2.0/24 any
interface ethernet 2/1
ip access-group acl-01 in

Applying an IP ACL as a VACL

For information about configuring VACLs, see

Verifying IP ACL Configurations

To display IP ACL configuration information, perform one of the following tasks:
Command
show running-config
show ip access-lists
show running-config interface
For detailed information about the fields in the output from these commands, refer to the Cisco Nexus
5000 Series Command Reference.
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
20-8
Purpose
Applies an IPv6 port access-list.
Applies an IPv4 ACL to the interface or port
channel. Only inbound filtering is supported with
port ACLs. You can apply one port ACL to an
interface.
(Optional) Displays ACL configuration.
(Optional) Copies the running configuration to the
startup configuration.
"Configuring VACLs" section on page
Purpose
Displays ACL configuration, including IP ACL
configuration and interfaces that IP ACLs are
applied to.
Displays the IP ACL configuration.
Displays the configuration of an interface to
which you have applied an ACL.
Chapter 20
Configuring ACLs
20-15.
OL-16597-01

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents