Cisco Nexus 5000 Series Switch CLI Software Configuration Guide, NX-OS 4.0(1a)N1 (OL-16597-01, January 2009)

Send feedback to nx5000-docfeedback@cisco.com
20-16
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
OL-16597-01
Chapter 20 Configuring ACLs
Configuring VACLs
Removing a VACL
You can remove a VACL, which means that you will delete the VLAN access map.
Be sure that you know whether the VACL is applied to a VLAN. The switch allows you to remove VACLs
that are current applied. Removing a VACL does not affect the configuration of VLANs where you have
applied the VACL. Instead, the switch considers the removed VACL to be empty.
To remove a VACL, perform this task:
Applying a VACL to a VLAN
You can apply a VACL to a VLAN. The VACL drop-down list appears in the Advanced Settings section.
Step 4
switch(config-access-map)# action
{drop|forward }
Specifies the action that the switch applies to traffic
that matches the ACL.
Step 5
switch(config-access-map)# [no] statistics
(Optional) Specifies that the switch maintains
global statistics for packets matching the rules in
the VACL.
The no option stops the switch from maintaining
global statistics for the VACL.
Step 6
switch(config-access-map)# show
running-config
(Optional) Displays ACL configuration.
Step 7
switch(config-access-map)# copy
running-config startup-config
(Optional) Copies the running configuration to the
startup configuration.
Command Purpose
Command Purpose
Step 1
switch# configure terminal
Enters configuration mode.
Step 2
switch(config)# no vlan access-map
map-name
Removes the VLAN access map configuration for
the specified access map.
Step 3
switch(config)# show running-config
(Optional) Displays ACL configuration.
Step 4
switch(config)# copy running-config
startup-config
(Optional) Copies the running configuration to the
startup configuration.