Reference Guide

Access Control Lists (ACLs) | 97
Figure 6-7. Command Example: seq
Configure filters without sequence number
If you are creating an extended ACL with only one or two filters, you can let FTOS assign a sequence
number based on the order in which the filters are configured. FTOS assigns filters in multiples of 5.
To configure a filter for an extended IP ACL without a specified sequence number, use any or all of the
following commands in the IP ACCESS LIST mode:
When you use the
log keyword, CP processor logs details about the packets that match. Depending on how
many packets match the log entry and at what rate, the CP may become busy as it has to log these packets’
details.
Figure 6-8 illustrates an extended IP ACL in which the sequence numbers were assigned by the software.
The filters were assigned sequence numbers based on the order in which they were configured (for
example, the first filter was given the lowest sequence number). The
show config command in the IP
ACCESS LIST mode displays the two filters with the sequence numbers 5 and 10.
Command Syntax Command Mode Purpose
{deny | permit} {source mask | any | host
ip-address} [count [byte] | log] [order]
[monitor] [fragments]
CONFIG-EXT-NACL Configure a deny or permit filter to
examine IP packets.
log and monitor options are
supported on E-Series only.
{deny | permit} tcp {source mask] | any |
host ip-address}} [count [byte] | log]
[order] [monitor] [fragments]
CONFIG-EXT-NACL Configure a deny or permit filter to
examine TCP packets.
log and monitor options are
supported on E-Series only.
{deny | permit} udp {source mask | any |
host ip-address}} [count [byte] | log]
[order] [monitor] [fragments]
CONFIG-EXT-NACL Configure a deny or permit filter to
examine UDP packets.
log and monitor options are
supported on E-Series only.
FTOS(config-ext-nacl)#seq 15 deny ip host 112.45.0.0 any log
FTOS(config-ext-nacl)#seq 5 permit tcp 12.1.3.45 0.0.255.255 any
FTOS(config-ext-nacl)#show confi
!
ip access-list extended dilling
seq 5 permit tcp 12.1.0.0 0.0.255.255 any
seq 15 deny ip host 112.45.0.0 any log
FTOS(config-ext-nacl)#