Extended ACLs Flashcards
Create an extended ACL entry to permit or deny all traffic:
R1(config-ext-nacl)# […]
{permit | deny} ip any any
What is the command to create an extended ACL entry, specifying the protocol, source/destination IP, and source/destination port?
R1(config-ext-nacl)# […]
{permit | deny} protocol src-ip src-port dst-ip dst-port
*src-ip and dst-ip need the host keyword before or a wildcard mask after
*src-port and dst-port need a keyword such as eq before
Which command can be used to view which ACLs are applied to an interface?
R1# […]
show ip interface interface-id
Which extended ACL entry command option?
[…] matches the specified range of ports.
range lowest-number highest-number
Which extended ACL entry command option?
[…] matches all ports except the specified number.
neq port-num
Which extended ACL entry command option?
[…] matches all ports less than the specified number.
lt port-num
Which extended ACL entry command option?
[…] matches all ports greater than the specified number.
gt port-num
Which extended ACL entry command option?
[…] matches a single port.
eq port-num
OSPF = IP protocol number […]
89
[…] = IP protocol number 89
OSPF
EIGRP = IP protocol number […]
88
[…] = IP protocol number 88
EIGRP
UDP = IP protocol number […]
17
[…] = IP protocol number 17
UDP
TCP = IP protocol number […]
6
[…] = IP protocol number 6
TCP
ICMP = IP protocol number […]
1
[…] = IP protocol number 1
ICMP
Enter extended named ACL config mode:
R1(config)# […]
ip access-list extended {name | number}
Configure an extended ACL entry, specifying protocol, source IP, and destination IP:
R1(config-ext-nacl)#
{permit | deny} protocol src-ip dest-ip
(use either host before each IP address for /32, or specify a wildcard mask)
Configure an extended ACL entry, specifying protocol, source IP, and destination IP:
R1(config)#
access-list number {permit | deny} protocol src-ip dest-ip
(use either host before each IP address for /32, or specify a wildcard mask)
Extended numbered ACL ranges:
100-199, 2000-2699
Resequence an ACL:
R1(config)# […]
ip access-list resequence acl-id starting-seq-num increment
You [can/can’t] delete individual ACL entries in named ACL config mode.
can