Removing An Ip Acl - Cisco N5010P-N2K-BE Software Configuration Manual

Nx-os software configuration guide
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
To change an IP ACL, perform this task:
Command
Step 1
switch# configure terminal
Step 2
switch(config)# ip access-list name
Step 3
switch(config-acl)# [sequence-number]
{permit|deny} protocol source destination
Step 4
switch(config-acl)# no {sequence-number |
{permit|deny} protocol source destination}
Step 5
switch(config-acl)# [no] statistics
Step 6
switch(config-acl)# show ip access-lists
name
Step 7
switch(config-acl)# copy running-config
startup-config

Removing an IP ACL

You can remove an IP ACL from the switch.
Before you remove an IP ACL from the switch, be sure that you know whether the ACL is applied to an
interface. The switch allows you to remove ACLs that are currently applied. Removing an ACL does not
affect the configuration of interfaces where you have applied the ACL. Instead, the switch considers the
removed ACL to be empty.
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
20-6
Chapter 20
Purpose
Enters configuration mode.
Enters IP ACL configuration mode for the ACL that
you specify by name.
(Optional) Creates a rule in the IP ACL. Using a
sequence number allows you to specify a position
for the rule in the ACL. Without a sequence number,
the rule is added to the end of the rules. The
sequence-number argument can be a whole number
between 1 and 4294967295.
The permit and deny commands support many
ways of identifying traffic. For more information,
see the Cisco Nexus 5000 Series Command
Reference.
(Optional) Removes the rule that you specified
from the IP ACL.
The permit and deny commands support many
ways of identifying traffic. For more information,
see the Cisco Nexus 5000 Series Command
Reference.
(Optional) Specifies that the switch maintains
global statistics for packets matching the rules in
the ACL.
The no option stops the switch from maintaining
global statistics for the ACL.
(Optional) Displays the IP ACL configuration.
(Optional) Copies the running configuration to the
startup configuration.
Configuring ACLs
OL-16597-01

Advertisement

Table of Contents
loading

This manual is also suitable for:

Nexus 5000 series

Table of Contents