Reference Guide

94 | Access Control Lists (ACLs)
www.dell.com | support.dell.com
If you are creating a standard 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. The software assigns filters in multiples of 5.
To configure a filter without a specified sequence number, use these commands in the following sequence,
starting in the CONFIGURATION 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-5 illustrates a standard IP ACL in which the sequence numbers were assigned by the FTOS. 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.
Figure 6-5. Standard IP ACL
To view all configured IP ACLs, use the show ip accounting access-list command (Figure 6-6) in the
EXEC Privilege mode.
Figure 6-6. Command Example: show ip accounting access-list
Step Command Syntax Command Mode Purpose
1
ip access-list standard
access-list-name
CONFIGURATION Create a standard IP ACL and assign it a
unique name.
2
{
deny | permit} {source [mask] |
any | host ip-address} [count
[
byte] | log] [order] [monitor]
[
fragments]
CONFIG-STD-NACL Configure a drop or forward IP ACL filter.
• log and monitor options are supported
on E-Series only.
FTOS(config-route-map)#ip access standard kigali
FTOS(config-std-nacl)#permit 10.1.0.0/16
FTOS(config-std-nacl)#show config
!
ip access-list standard kigali
seq 5 permit 10.1.0.0/16
FTOS(config-std-nacl)#
FTOS#show ip accounting access example interface gig 4/12
Extended IP access list example
seq 10 deny tcp any any eq 111
seq 15 deny udp any any eq 111
seq 20 deny udp any any eq 2049
seq 25 deny udp any any eq 31337
seq 30 deny tcp any any range 12345 12346
seq 35 permit udp host 10.21.126.225 10.4.5.0 /28
seq 40 permit udp host 10.21.126.226 10.4.5.0 /28
seq 45 permit udp 10.8.0.0 /16 10.50.188.118 /31 range 1812 1813
seq 50 permit tcp 10.8.0.0 /16 10.50.188.118 /31 eq 49
seq 55 permit udp 10.15.1.0 /24 10.50.188.118 /31 range 1812 1813