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

PurposeCommand or Action
The no option stops the switch from maintaining
global statistics for the VACL.
(Optional)
Displays ACL configuration.
switch(config-access-map)# show
running-config
Step 7
(Optional)
Copies the running configuration to the startup
configuration.
switch(config-access-map)# copy
running-config startup-config
Step 8
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.
Procedure
PurposeCommand or Action
Enters configuration mode.switch# configure terminal
Step 1
Removes the VLAN access map configuration
for the specified access map.
switch(config)# no vlan access-map
map-name
Step 2
(Optional)
Displays ACL configuration.
switch(config)# show running-config
Step 3
(Optional)
Copies the running configuration to the startup
configuration.
switch(config)# copy running-config
startup-config
Step 4
Applying a VACL to a VLAN
You can apply a VACL to a VLAN.
Procedure
PurposeCommand or Action
Enters configuration mode.switch# configure terminal
Step 1
Applies the VACL to the VLANs by the list that you
specified. The no option unapplies the VACL.
switch(config)# [no] vlan filter
map-name vlan-list list
Step 2
The vlan-list command can specify a list of up to 32
VLANs, but multiple vlan-list commands can be
configured to cover more than 32 VLANs.
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
OL-16597-01 293
Configuring VACLs
Removing a VACL