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
20-7
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
OL-16597-01
Chapter 20 Configuring ACLs
Configuring IP ACLs
To remove an IP ACL from the switch, perform this task:
Changing Sequence Numbers in an IP ACL
You can change all the sequence numbers assigned to the rules in an IP ACL. To change sequence
numbers, perform this task:
Applying an IP ACL as a Port ACL
You can apply an IPv4 ACL to a physical Ethernet interface or a port channel. ACLs applied to these
interface types are considered port ACLs. To apply an IP ACL, perform this task:
Command
Purpose
Step 1
switch#
configure terminal
Enters configuration mode.
Step 2
switch(config)#
no
ip
access-list
name
Removes the IP ACL that you specified by name
from the running configuration.
Step 3
switch(config)#
show running-config
(Optional) Displays ACL configuration. The
removed IP ACL should not appear.
Step 4
switch(config)#
copy running-config
startup-config
(Optional) Copies the running configuration to the
startup configuration.
Command
Purpose
Step 1
switch#
configure terminal
Enters configuration mode.
Step 2
switch(config)#
resequence
ip
access-list
name starting-sequence-number
increment
Assigns sequence numbers to the rules contained in
the ACL, where the first rule receives the starting
sequence number that you specify. Each subsequent
rule receives a number larger than the preceding
rule. The difference in numbers is determined by
the increment that you specify. The
starting-sequence-number
argument and the
increment
argument can be a whole number
between 1 and 4294967295.
Step 3
switch(config)#
show ip access-lists
name
(Optional) Displays the IP ACL configuration.
Step 4
switch(config)#
copy running-config
startup-config
(Optional) Copies the running configuration to the
startup configuration.
Command
Purpose
Step 1
switch#
configure terminal
Enters configuration mode.
Step 2
switch(config)#
interface
ethernet
slot
/
port
Enters interface configuration mode for the
specified interface.
switch(config)#
interface
port-channel
channel-number
Enters interface configuration mode for a port
channel.
Summary of Contents for N5010P-N2K-BE
Page 50: ...Se n d f e e d b a ck t o n x 5 0 0 0 d o c f e e d b a ck c i s c o c o m ...
Page 102: ...Se n d f e e d b a ck t o n x 5 0 0 0 d o c f e e d b a ck c i s c o c o m ...
Page 240: ...Se n d f e e d b a ck t o n x 5 0 0 0 d o c f e e d b a ck c i s c o c o m ...
Page 312: ...Se n d f e e d b a ck t o n x 5 0 0 0 d o c f e e d b a ck c i s c o c o m ...
Page 400: ...Se n d f e e d b a ck t o n x 5 0 0 0 d o c f e e d b a ck c i s c o c o m ...
Page 418: ...Se n d f e e d b a ck t o n x 5 0 0 0 d o c f e e d b a ck c i s c o c o m ...
Page 436: ...Se n d f e e d b a ck t o n x 5 0 0 0 d o c f e e d b a ck c i s c o c o m ...
Page 658: ...Se n d f e e d b a ck t o n x 5 0 0 0 d o c f e e d b a ck c i s c o c o m ...