Implementing IPv4 ACLs Lab Guide
Implementing IPv4 ACLs Lab Guide
html
Donations
Modules 8-10 |
Checkpoint Exam: OSPF
Exam
1 of 44 1/7/2025, 4:35 PM
26.1.2 Lab - Implement IPv4 ACLs (Answers) [Link]
Modules 11-12 |
Checkpoint Exam: BGP
Exam
Modules 13-14 |
Checkpoint Exam:
Multicast and QoS Exam
Modules 15-16 |
Checkpoint Exam: IP
Services and VPNs
Exam
Modules 17-19 |
Checkpoint Exam:
Wireless Essentials
Exam
Modules 20-21 |
Checkpoint Exam:
Wireless Security and
Connectivity Exam
26.1.2 Lab – Implement IPv4 ACLs
Modules 22-24 |
(Answers)
Checkpoint Exam:
Network Design and
Topology Monitoring Exam
Modules 25-26 |
Checkpoint Exam:
Access Control and
Infrastructure Security
Exam
Read Article
Modules 27-29 |
Checkpoint Exam:
Virtualization,
Automation, and
Addressing Table Programmability Exam
ENCOR Skills
Device Interface IP Address Subnet Mask Default
Assessment (Scenario
Gateway
1+2) Exam Answers
2 of 44 1/7/2025, 4:35 PM
26.1.2 Lab - Implement IPv4 ACLs (Answers) [Link]
3 of 44 1/7/2025, 4:35 PM
26.1.2 Lab - Implement IPv4 ACLs (Answers) [Link]
Finding a match in an ACL starts at the top with the lowest CCNPv6 ROUTE - Final
sequence number and proceeds down the list (higher Exam
sequence numbers) until a matching ACE is found. When a
CCNPv7 ROUTE - Final
match is found, the preset action (permit or deny) is applied
Answers
and processing stops. At the end of every ACL is an implicit
deny “any” ACE, which denies all packets that did not match
prior ACEs.
Note: This lab is an exercise in configuring various types of CCNP ENCOR v8 Chapters 15 –
access control lists and does not necessarily reflect network 16: IP Services and VPNs Test
Online
troubleshooting best practices.
28.1.2 Lab – Construct a Basic
Note: The routers used with CCNP hands-on labs are Cisco
Python Script (Answers)
4221 with Cisco IOS XE Release 16.9.4 (universalk9
image). The switches used in the labs are Cisco Catalyst 4.1.2 Lab – Implement MST
(Answers) Read Article
3650s with Cisco IOS XE Release 16.9.4 (universalk9
image) and Cisco Catalyst 2960s with Cisco IOS Release CCNP Enterprise ENCOR v8
15.2(2) (lanbasek9 image). Other routers, switches, and Exam Answers (Core Networking)
4 of 44 1/7/2025, 4:35 PM
26.1.2 Lab - Implement IPv4 ACLs (Answers) [Link]
erased and have no startup configurations. If you are (Chapters 1-14) Answers
Instructor Note: Refer to the Instructor Lab Manual for the SpengerVictimThatDoesNSCS on
procedures to initialize and reload devices. CCNA 2 v7 Modules 14 – 16:
Routing Concepts and
Configuration Exam Answers
Required Resources
SpengerVictimThatDoesNSCS on
• 2 Routers (Cisco 4221 with Cisco IOS XE Release CCNA 2 v7 Modules 14 – 16:
16.9.4 universal image or comparable) Routing Concepts and
Configuration Exam Answers
• 2 Switches (Cisco 3650 with Cisco IOS XE Release
16.9.4 universal image or comparable) Sami Sysmans on CCNA 1 v7
• 1 Switch (Cisco 2960 with Cisco IOS Release 15.2(2) Modules 4 – 7: Ethernet Concepts
– Test online
lanbasek9 image or comparable)
• 3 PC (Choice of operating system with a terminal
emulation program and a packet capture utility
installed)
• Console cables to configure the Cisco IOS devices via
the console ports
• Ethernet cables as shown in the topology
Instructions
Part 1: Build the Network and Configure
Basic Device Settings
In Part 1, you will set up the network topology and configure
basic settings and interface addressing on devices.
5 of 44 1/7/2025, 4:35 PM
26.1.2 Lab - Implement IPv4 ACLs (Answers) [Link]
Router R1
hostname R1
no ip domain lookup
username admin privilege 15 algorithm-type scrypt secret cis
banner motd # R1, Lab Access Control Lists #
line con 0
exec-timeout 0 0
logging synchronous
exit
interface g0/0/1
ip address [Link] [Link]
no shutdown
exit
interface Serial 0/1/0
ip address [Link] [Link]
no shutdown
exit
router ospf 1
router-id [Link]
network [Link] [Link] area 1
network [Link] [Link] area 0
exit
line vty 0 4
login local
transport input telnet
end
Router R3
hostname R3
Read Article
no ip domain lookup
username admin privilege 15 algorithm-type scrypt secret cis
banner motd # R3, Lab Access Control Lists #
line con 0
exec-timeout 0 0
logging synchronous
exit
interface Loopback0
ip address [Link] [Link]
exit
6 of 44 1/7/2025, 4:35 PM
26.1.2 Lab - Implement IPv4 ACLs (Answers) [Link]
interface g0/0/1
ip address [Link] [Link]
no shutdown
exit
interface Serial 0/1/0
ip address [Link] [Link]
no shutdown
exit
router ospf 1
router-id [Link]
network [Link] [Link] area 2
network [Link] [Link] area 0
network [Link] [Link] area 0
exit
line vty 0 4
login local
transport input telnet
end
Switch D1
hostname D1
no ip domain lookup
username admin privilege 15 algorithm-type scrypt secret cis
banner motd # D1, Lab Access Control Lists #
line con 0
exec-timeout 0 0
logging synchronous
exit
interface range g1/0/1-24, g1/1/1-4, g0/0
shutdown
exit Read Article
interface range g1/0/11, g1/0/23
switchport mode access
no shutdown
exit
interface vlan 1
ip address [Link] [Link]
no shut
exit
ip default-gateway [Link]
line vty 0 15
7 of 44 1/7/2025, 4:35 PM
26.1.2 Lab - Implement IPv4 ACLs (Answers) [Link]
login local
transport input telnet
end
Switch D2
hostname D2
no ip domain lookup
username admin privilege 15 algorithm-type scrypt secret cis
banner motd # D2, Lab Access Control Lists #
line con 0
exec-timeout 0 0
logging synchronous
exit
interface range g1/0/1-24, g1/1/1-4, g0/0
shutdown
exit
interface range g1/0/5, g1/0/11, g1/0/23
switchport mode access
no shutdown
exit
interface vlan 1
ip address [Link] [Link]
no shut
exit
ip default-gateway [Link]
line vty 0 15
login local
transport input telnet
end
Read Article
Switch A1
hostname A1
no ip domain lookup
username admin privilege 15 algorithm-type scrypt secret cis
ip http authentication local
ip domain name [Link]
banner motd # A1, Lab Access Control Lists #
spanning-tree mode rapid-pvst
line con 0
8 of 44 1/7/2025, 4:35 PM
26.1.2 Lab - Implement IPv4 ACLs (Answers) [Link]
exec-timeout 0 0
logging synchronous
exit
line vty 0 15
login local
transport input telnet ssh
interface range f0/1-24, g0/1-2
shutdown
exit
interface range f0/3, f0/23
switchport mode access
no shutdown
exit
interface vlan 1
ip address [Link] [Link]
no shut
exit
ip default-gateway [Link]
crypto key generate rsa modulus 1024
end
9 of 44 1/7/2025, 4:35 PM
26.1.2 Lab - Implement IPv4 ACLs (Answers) [Link]
10 of 44 1/7/2025, 4:35 PM
26.1.2 Lab - Implement IPv4 ACLs (Answers) [Link]
11 of 44 1/7/2025, 4:35 PM
26.1.2 Lab - Implement IPv4 ACLs (Answers) [Link]
R3(config)# no access-list 99
R3(config)# interface g0/0/1
R3(config-if)# no ip access-group 99 out
12 of 44 1/7/2025, 4:35 PM
26.1.2 Lab - Implement IPv4 ACLs (Answers) [Link]
R3#
*Feb 28 [Link].495: %SEC_LOGIN-5-LOGIN_SUCCESS: Login Succ
*Feb 28 [Link].647: %SEC-6-IPACCESSLOGS: list MGMT-TRAFFIC
13 of 44 1/7/2025, 4:35 PM
26.1.2 Lab - Implement IPv4 ACLs (Answers) [Link]
14 of 44 1/7/2025, 4:35 PM
26.1.2 Lab - Implement IPv4 ACLs (Answers) [Link]
15 of 44 1/7/2025, 4:35 PM
26.1.2 Lab - Implement IPv4 ACLs (Answers) [Link]
b. From PC1, ping PC2 again, but this time set the TTL
value to 20 inside the IP header on PC1. Use the following
command on PC1 to set the TTL to 20 for the ICMP packet.
16 of 44 1/7/2025, 4:35 PM
26.1.2 Lab - Implement IPv4 ACLs (Answers) [Link]
c. Next, apply the ACL to the G/0/1 interface in the outgoing Read Article
direction. Because traffic originated from area 1 and is
returning from area 2, configure the ACL going outbound on
the G/0/1 interface towards area 1.
17 of 44 1/7/2025, 4:35 PM
26.1.2 Lab - Implement IPv4 ACLs (Answers) [Link]
18 of 44 1/7/2025, 4:35 PM
26.1.2 Lab - Implement IPv4 ACLs (Answers) [Link]
19 of 44 1/7/2025, 4:35 PM
26.1.2 Lab - Implement IPv4 ACLs (Answers) [Link]
20 of 44 1/7/2025, 4:35 PM
26.1.2 Lab - Implement IPv4 ACLs (Answers) [Link]
D2(config-ext-nacl)# exit
21 of 44 1/7/2025, 4:35 PM
26.1.2 Lab - Implement IPv4 ACLs (Answers) [Link]
e. Use the show vlan access-map and show
access-list commands to view the VACL configuration
22 of 44 1/7/2025, 4:35 PM
26.1.2 Lab - Implement IPv4 ACLs (Answers) [Link]
ip address: D2ACL
Action:
drop
Vlan access-map "VACL" 20
Match clauses:
Action:
forward
23 of 44 1/7/2025, 4:35 PM
26.1.2 Lab - Implement IPv4 ACLs (Answers) [Link]
Router R1
24 of 44 1/7/2025, 4:35 PM
26.1.2 Lab - Implement IPv4 ACLs (Answers) [Link]
25 of 44 1/7/2025, 4:35 PM
26.1.2 Lab - Implement IPv4 ACLs (Answers) [Link]
negotiation auto
!
interface Serial0/1/0
ip address [Link] [Link]
!
interface Serial0/1/1
no ip address
!
router ospf 1
router-id [Link]
network [Link] [Link] area 1
network [Link] [Link] area 0
!
ip forward-protocol nd
no ip http server
ip http secure-server
!
ip access-list extended AREA1_TO_AREA2
deny ip host [Link] any ttl lt 25
permit icmp host [Link] [Link] [Link] echo
permit tcp host [Link] host [Link] eq telnet
permit tcp [Link] [Link] host [Link] eq 22
permit tcp host [Link] host [Link] eq www
permit tcp host [Link] host [Link] eq 443
deny ip any any
ip access-list extended AREA2_TO_AREA1
permit icmp [Link] [Link] host [Link] echo-re
permit tcp host [Link] eq telnet host [Link] est
permit tcp host [Link] eq 22 [Link] [Link] est
permit tcp host [Link] eq www host [Link] establ
permit tcp host [Link] eq 443 host [Link] establ
deny ip any any log
! Read Article
control-plane
!
banner motd ^C R1, Lab Access Control Lists ^C
!
line con 0
exec-timeout 0 0
logging synchronous
transport input none
stopbits 1
line aux 0
26 of 44 1/7/2025, 4:35 PM
26.1.2 Lab - Implement IPv4 ACLs (Answers) [Link]
stopbits 1
line vty 0 4
login local
transport input telnet
!
end
Router R3
27 of 44 1/7/2025, 4:35 PM
26.1.2 Lab - Implement IPv4 ACLs (Answers) [Link]
!
interface Loopback0
ip address [Link] [Link]
!
interface GigabitEthernet0/0/0
no ip address
negotiation auto
!
interface GigabitEthernet0/0/1
ip address [Link] [Link]
negotiation auto
!
interface Serial0/1/0
ip address [Link] [Link]
!
interface Serial0/1/1
no ip address
!
router ospf 1
router-id [Link]
network [Link] [Link] area 2
network [Link] [Link] area 0
network [Link] [Link] area 0
!
ip forward-protocol nd
no ip http server
ip http secure-server
!
ip access-list standard MGMT-TRAFFIC
permit [Link]
deny any log
!
control-plane Read Article
!
banner motd ^C R3, Lab Access Control Lists ^C
!
line con 0
exec-timeout 0 0
logging synchronous
transport input none
stopbits 1
line aux 0
stopbits 1
28 of 44 1/7/2025, 4:35 PM
26.1.2 Lab - Implement IPv4 ACLs (Answers) [Link]
line vty 0 4
access-class MGMT-TRAFFIC in
login local
transport input telnet
!
end
Switch D1
29 of 44 1/7/2025, 4:35 PM
26.1.2 Lab - Implement IPv4 ACLs (Answers) [Link]
30 of 44 1/7/2025, 4:35 PM
26.1.2 Lab - Implement IPv4 ACLs (Answers) [Link]
31 of 44 1/7/2025, 4:35 PM
26.1.2 Lab - Implement IPv4 ACLs (Answers) [Link]
!
interface GigabitEthernet1/0/11
switchport mode access
!
interface GigabitEthernet1/0/12
shutdown
!
interface GigabitEthernet1/0/13
shutdown
!
interface GigabitEthernet1/0/14
shutdown
!
interface GigabitEthernet1/0/15
shutdown
!
interface GigabitEthernet1/0/16
shutdown
!
interface GigabitEthernet1/0/17
shutdown
!
interface GigabitEthernet1/0/18
shutdown
!
interface GigabitEthernet1/0/19
shutdown
!
interface GigabitEthernet1/0/20
shutdown
!
interface GigabitEthernet1/0/21
shutdown Read Article
!
interface GigabitEthernet1/0/22
shutdown
!
interface GigabitEthernet1/0/23
switchport mode access
!
interface GigabitEthernet1/0/24
shutdown
!
32 of 44 1/7/2025, 4:35 PM
26.1.2 Lab - Implement IPv4 ACLs (Answers) [Link]
interface GigabitEthernet1/1/1
shutdown
!
interface GigabitEthernet1/1/2
shutdown
!
interface GigabitEthernet1/1/3
shutdown
!
interface GigabitEthernet1/1/4
shutdown
!
interface Vlan1
ip address [Link] [Link]
!
ip default-gateway [Link]
ip forward-protocol nd
ip http server
ip http secure-server
!
control-plane
service-policy input system-cpp-policy
!
banner motd ^C D1, Lab Access Control Lists ^C
!
line con 0
exec-timeout 0 0
logging synchronous
stopbits 1
line aux 0
stopbits 1
line vty 0 4
login local Read Article
transport input telnet
line vty 5 15
login local
transport input telnet
!
end
Switch D2
33 of 44 1/7/2025, 4:35 PM
26.1.2 Lab - Implement IPv4 ACLs (Answers) [Link]
34 of 44 1/7/2025, 4:35 PM
26.1.2 Lab - Implement IPv4 ACLs (Answers) [Link]
35 of 44 1/7/2025, 4:35 PM
26.1.2 Lab - Implement IPv4 ACLs (Answers) [Link]
36 of 44 1/7/2025, 4:35 PM
26.1.2 Lab - Implement IPv4 ACLs (Answers) [Link]
37 of 44 1/7/2025, 4:35 PM
26.1.2 Lab - Implement IPv4 ACLs (Answers) [Link]
shutdown
!
interface GigabitEthernet1/1/2
shutdown
!
interface GigabitEthernet1/1/3
shutdown
!
interface GigabitEthernet1/1/4
shutdown
!
interface Vlan1
ip address [Link] [Link]
!
ip default-gateway [Link]
ip forward-protocol nd
ip http server
ip http secure-server
!
ip access-list extended D2ACL
permit icmp host [Link] host [Link]
permit tcp host [Link] host [Link] eq telnet
deny ip any any
!
ip access-list extended 123
deny icmp any host [Link] echo
deny tcp any host [Link] eq telnet
permit ip any any
!
control-plane
service-policy input system-cpp-policy
!
banner motd ^C D2, Lab Access Control Lists ^C Read Article
!
line con 0
exec-timeout 0 0
logging synchronous
stopbits 1
line aux 0
stopbits 1
line vty 0 4
login local
transport input telnet
38 of 44 1/7/2025, 4:35 PM
26.1.2 Lab - Implement IPv4 ACLs (Answers) [Link]
line vty 5 15
login local
transport input telnet
!
end
Switch A1
39 of 44 1/7/2025, 4:35 PM
26.1.2 Lab - Implement IPv4 ACLs (Answers) [Link]
interface FastEthernet0/3
switchport mode access
!
interface FastEthernet0/4
shutdown
!
interface FastEthernet0/5
shutdown
!
interface FastEthernet0/6
shutdown
!
interface FastEthernet0/7
shutdown
!
interface FastEthernet0/8
shutdown
!
interface FastEthernet0/9
shutdown
!
interface FastEthernet0/10
shutdown
!
interface FastEthernet0/11
shutdown
!
interface FastEthernet0/12
shutdown
!
interface FastEthernet0/13
shutdown
! Read Article
interface FastEthernet0/14
shutdown
!
interface FastEthernet0/15
shutdown
!
interface FastEthernet0/16
shutdown
!
interface FastEthernet0/17
40 of 44 1/7/2025, 4:35 PM
26.1.2 Lab - Implement IPv4 ACLs (Answers) [Link]
shutdown
!
interface FastEthernet0/18
shutdown
!
interface FastEthernet0/19
shutdown
!
interface FastEthernet0/20
shutdown
!
interface FastEthernet0/21
shutdown
!
interface FastEthernet0/22
shutdown
!
interface FastEthernet0/23
switchport mode access
!
interface FastEthernet0/24
shutdown
!
interface GigabitEthernet0/1
shutdown
!
interface GigabitEthernet0/2
shutdown
!
interface Vlan1
ip address [Link] [Link]
!
ip default-gateway [Link] Read Article
ip http server
ip http authentication local
ip http secure-server
!
banner motd ^C A1, Lab Access Control Lists ^C
!
line con 0
exec-timeout 0 0
logging synchronous
line vty 0 4
41 of 44 1/7/2025, 4:35 PM
26.1.2 Lab - Implement IPv4 ACLs (Answers) [Link]
login local
transport input telnet ssh
line vty 5 15
login local
transport input telnet ssh
!
end
...
42 of 44 1/7/2025, 4:35 PM
26.1.2 Lab - Implement IPv4 ACLs (Answers) [Link]
Read Article
Not a typical dating platform
BestDates | Sponsored Read More
Subscribe
43 of 44 1/7/2025, 4:35 PM
26.1.2 Lab - Implement IPv4 ACLs (Answers) [Link]
{} [+]
0 COMMENTS
Read Article
44 of 44 1/7/2025, 4:35 PM