hit counter script

Applying An Ip Acl As A Vacl - Cisco nexus 5000 series Cli Configuration Manual

Hide thumbs Also See for nexus 5000 series:
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 2
switch(config)# interface ethernet
slot/port
switch(config)# interface port-channel
channel-number
Step 3
switch(config)# interface ethernet
slot/port
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
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
1-8
Purpose
Enters interface configuration mode for the
specified interface.
Enters interface configuration mode for a port
channel.
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
Chapter 1
Configuring ACLs
1-15.
OL-16597-01

Advertisement

Table of Contents
loading

Table of Contents