Removing A Vacl; Applying A Vacl To A Vlan - Cisco nexus 5000 series Cli Configuration Manual

Hide thumbs Also See for nexus 5000 series:
Table of Contents

Advertisement

Configuring VACLs
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 4
switch(config-access-map)# action
{drop|forward }
Step 5
switch(config-access-map)# [no] statistics
Step 6
switch(config-access-map)# show
running-config
Step 7
switch(config-access-map)# copy
running-config startup-config

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:
Command
Step 1
switch# configure terminal
Step 2
switch(config)# no vlan access-map
map-name
Step 3
switch(config)# show running-config
Step 4
switch(config)# copy running-config
startup-config

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.
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
1-16
Purpose
Specifies the action that the switch applies to traffic
that matches the ACL.
(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.
(Optional) Displays ACL configuration.
(Optional) Copies the running configuration to the
startup configuration.
Purpose
Enters global configuration mode.
Removes the VLAN access map configuration for
the specified access map.
(Optional) Displays ACL configuration.
(Optional) Copies the running configuration to the
startup configuration.
Chapter 1
Configuring ACLs
OL-16597-01

Advertisement

Table of Contents
loading

Table of Contents