Administrator Guide

Table Of Contents
The following examples shows how to view a standard ACL filter sequence for an interface.
DellEMC#show ip accounting access example interface gig 4/12
Extended IP access list example
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 monitor 300
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 monitor 349
seq 55 permit udp 10.15.1.0 /24 10.50.188.118 /31 range 1812 1813
To delete a filter, enter the show config command in IP ACCESS LIST mode and locate the sequence number of the filter you
want to delete. Then use the no seq sequence-number command in IP ACCESS LIST mode.
Configure an Extended IP ACL
Extended IP ACLs filter on source and destination IP addresses, IP host addresses, TCP addresses, TCP host addresses, UDP
addresses, and UDP host addresses.
The traffic passes through the filter in the order of the filter’s sequence and hence you can configure the extended IP ACL by
first entering IP ACCESS LIST mode, and then assigning a sequence number to the filter.
Configuring Filters with a Sequence Number
To configure filters with a sequence number, use the following commands.
1. Enter IP ACCESS LIST mode by creating an extended IP ACL.
CONFIGURATION mode
ip access-list extended access-list-name
2. Configure a drop or forward filter.
CONFIG-EXT-NACL mode
seq sequence-number {deny | permit} {ip-protocol-number | icmp | ip | tcp | udp} {source
mask | any | host ip-address} {destination mask | any | host ip-address} [operator
[portnumber | portname]] [count [byte]] [order] [monitor [session-id]] [fragments]
While configuring an IP access list, you can choose to configure either by using the logical name of the protocol or by using
the port number of the protocol. The logical names are available for both TCP and UDP.
When you use the log keyword, the CP 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.
Example for configuring the IP access list using port numbers and protocol names:
DellEMC(config-ext-nacl)# seq 25 permit tcp any eq 40 any eq 33
DellEMC(config-ext-nacl)# seq 30 permit tcp any eq 33 any eq 43
DellEMC(config-ext-nacl)# seq 35 permit tcp any range www 194 any eq 101
DellEMC(config-ext-nacl)# seq 40 permit udp any eq 434 any gt mobile-ip
DellEMC(config-ext-nacl)# seq 45 deny udp any eq 53 any lt ntp
DellEMC(config-ext-nacl)#
DellEMC(config-ext-nacl)#show config
!
ip access-list extended vv
seq 25 permit tcp any eq 40 any eq 33
seq 30 permit tcp any eq 33 any eq 43
seq 35 permit tcp any range www 194 any eq 101
seq 40 permit udp any eq 434 any gt mobile-ip
seq 45 deny udp any eq 53 any lt ntp
Access Control Lists (ACLs)
115