Cisco Cisco IOS Software Release 12.2(1)T
IP Access List Entry Sequence Numbering
Configuration Examples for IP Access List Entry Sequence Numbering
8
Cisco IOS Release 12.2(14)S, 12.2(15)T, and 12.3(2)T
What to Do Next
If your access list is not already applied to an interface or line or otherwise referenced, apply the access
list. Refer to the “Configuring IP Services” chapter of the Cisco IOS IP Configuration Guide for
information about how to apply an IP access list.
list. Refer to the “Configuring IP Services” chapter of the Cisco IOS IP Configuration Guide for
information about how to apply an IP access list.
Configuration Examples for IP Access List Entry Sequence
Numbering
Numbering
This section provides the following examples related to sequence numbering of entries in an IP access
list:
list:
•
•
•
Resequencing Entries in an Access List: Example
The following example shows access list resequencing. The starting value is 1, and increment value is 2.
The subsequent entries are ordered based on the increment values that users provide, and the range is
from 1 to 2147483647.
The subsequent entries are ordered based on the increment values that users provide, and the range is
from 1 to 2147483647.
When an entry with no sequence number is entered, by default it has a sequence number of 10 more than
the last entry in the access list.
the last entry in the access list.
Router# show access-list 150
Extended IP access list 150
10 permit ip host 10.3.3.3 host 172.16.5.34
20 permit icmp any any
30 permit tcp any host 10.3.3.3
40 permit ip host 10.4.4.4 any
50 Dynamic test permit ip any any
Step 8
end
Example:
Router(config-std-nacl)# end
(Optional) Exits the configuration mode and returns to
privileged EXEC mode.
privileged EXEC mode.
Step 9
show ip access-lists
access-list-name
Example:
Router# show ip access-lists kmd1
(Optional) Displays the contents of the IP access list.
•
Review the output to see that the access list includes the
new entry.
new entry.
Router# show ip access-lists kmd1
Standard IP access list kmd1
100 permit 10.4.4.0, wildcard bits 0.0.0.255
105 permit 10.5.5.0, wildcard bits 0.0.0.255
115 permit 10.0.0.0, wildcard bits 0.0.0.255
130 permit 10.5.5.0, wildcard bits 0.0.0.255
145 permit 10.0.0.0, wildcard bits 0.0.0.255
Command or Action
Purpose