Cisco Nexus 5000 Series Switch CLI Software Configuration Guide (OL-16597-01, July 2009)
Procedure
PurposeCommand or Action
Enters configuration mode.switch# configure terminal
Step 1
Removes the IP ACL that you specified by name
from the running configuration.
switch(config)# no {ip | ipv6} access-list
name
Step 2
(Optional)
Displays ACL configuration. The removed IP ACL
should not appear.
switch# show running-config
Step 3
(Optional)
Copies the running configuration to the startup
configuration.
switch# copy running-config
startup-config
Step 4
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:
Procedure
PurposeCommand or Action
Enters configuration mode.switch# configure terminal
Step 1
Assigns sequence numbers to the rules contained in the
ACL, where the first rule receives the starting sequence
switch(config)# resequence {ip |
ipv6} access-list name
starting-sequence-number increment
Step 2
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.
(Optional)
Displays the IP ACL configuration.
switch# show {ip | ipv6} access-lists
name
Step 3
(Optional)
Copies the running configuration to the startup
configuration.
switch# copy running-config
startup-config
Step 4
Applying an IP ACL as a Port ACL
You can apply an IPv4 or IPv6 ACL to a physical Ethernet interface or a EtherChannel. ACLs applied to
these interface types are considered port ACLs.
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
OL-16597-01 285
Configuring IP ACLs
Changing Sequence Numbers in an IP ACL