Is Practical
Is Practical
Step 4: While Connecting the Routers Select this wire known as Serial DTE in
Connections Section.
1|Page
Step 5: Then Select this for other Connections known as ‘Copper Cross-Over’
Wire.
Topology:
2|Page
Step 2: Open PC B (Server) and then Enter Following IP Addresses.
3|Page
Step 4: Go to Config Change the Hostname and Display name as R1.
4|Page
Step 6: Do the Changes in IP Addresses in Se0/1/0.
5|Page
Step 8: Turn on Port Status in Se0/1/0 and Enter these Addresses.
6|Page
Step 10: Change the Host Name and Display Name as R3.
Step 11: Turn on Port Status in Gig0/0 and Enter these Addresses.
7|Page
Step 12: Do the Changes in IP Addresses in Se0/1/1.
8|Page
Step 15: Again, Enter All This Commands in Router 3.
R3>en
R3#conf t
R3(config)#line vty 0 4
R3(config-line)#password vtypa55
R3(config-line)#login
R3(config-line)#enable secret enpa55
9|Page
Part A: Configure OSPF MD5 Authentication
Step 1: Testing Connectivity.
Step 2: Configure OSPF MD5 authentication for all the routers in area 0.
R1(config)#router ospf 1
R1(config-router)#area 0 authentication message-digest
R2(config)#router ospf 1
R2(config-router)#area 0 authentication message-digest
R3(config)#router ospf 1
R3(config-router)#area 0 authentication message-digest
Step 3: Configure the MD5 key for all the routers in area 0.
R1(config)#interface s0/1/0
R1(config-if)#ip ospf message-digest-key 1 md5 MD5pa55
R2(config)#interface s0/1/0
R2(config-if)#ip ospf message-digest-key 1 md5 MD5pa55
R2(config-if)#interface s0/1/1
R2(config-if)#ip ospf message-digest-key 1 md5 MD5pa55
R3(config)#interface s0/1/0
R3(config-if)#ip ospf message-digest-key 1 md5 MD5pa55
10 | P a g e
Step 4: Verify configurations.
11 | P a g e
Part B: Configure NTP
Step 1: Open PC A > Services > NTP, Do the changes Accordingly.
12 | P a g e
13 | P a g e
R2(config)#ntp authentication-key 1 md5 NTPpa55
R3(config)#ntp authenticate
R3(config)#ntp trusted-key 1
R3(config)#ntp authentication-key 1 md5 NTPpa55
14 | P a g e
Step 2: Verify logging configuration.
15 | P a g e
Practical 2
Aim: Configure AAA Authentication.
Topology:
Step 1: Configuring IP
Address PC A
16 | P a g e
PC B
Server (TACAS)
17 | P a g e
PC C
Server (RADIUS)
18 | P a g e
R1
R2
19 | P a g e
R3
Step 3: Commands in R1
R1(config)#router ospf 1
R1(config-router)#network [Link] [Link] area 0
R1(config-router)#network [Link] [Link] area 0
110 | P a g
e
Step 4: Commands in R2
R2(config)#router ospf 2
R2(config-router)#network [Link] [Link] area 0
R2(config-router)#network [Link] [Link] area 0
R2(config-router)#network [Link] [Link] area 0
Step 5: Commands in R3
R3(config)#router ospf 3
R3(config-router)#network [Link] [Link] area 0
R3(config-router)#network [Link] [Link] area 0
20 | P a g e
Part 1: Configure Local AAA Authentication for Console
Access on R1
Step 1: Test Connectivity of all Devices.
PC A to PC B
PC A to PC C
21 | P a g e
PC B to PC C
22 | P a g e
Step 2: Configure a local username on R1.
R1(config)#username Admin1 secret admin1pa55
R1(config)#aaa new-model
R1(config)#aaa authentication login default local
R1(config)#line console 0
R1(config-line)#login authentication default
Username: Admin1
Password: admin1pa55
23 | P a g e
24 | P a g e
Part 2: Configure Local AAA Authentication for vty Lines on R1
Step 1: Configure domain name and crypto key for use with SSH.
R1(config)#ip domain-name [Link]
R1(config)#crypto key generate rsa
25 | P a g e
26 | P a g e
Part 3: Configure Server-Based AAA Authentication Using
TACACS+ on R2
Step 1: Configure a backup local database entry called Admin.
R2(config)#username Admin2 secret admin2pa55
Step 2: Open TACAS (Server) > Go to Services > AAA and change
Accordingly.
27 | P a g e
Step 4: Verify the AAA authentication method.
Username: Admin2
Password: admin2pa55
28 | P a g e
29 | P a g e
Part 4: Configure Server-Based AAA Authentication Using
RADIUS on R3.
Step 1: Configure a backup local database entry called Admin.
R3(config)#username Admin3 secret admin3pa55
Step 2: Open RADIUS (Server) > Go to Services > AAA and change
Accordingly.
210 | P a g
e
Step 4: Verify the AAA authentication method.
Username: Admin3
Password: admin3pa55
211 | P a g
e
Practical 3A
Aim: Configuring Extended ACLs - Scenario 1
Topology:
Configuring IP Address
R1 – Gig0/0
212 | P a g
e
R1 – Gig0/1
R1 -Gig0/2
30 | P a g e
Server
PC 1
31 | P a g e
PC 2
32 | P a g e
Step 2: Verify the ACL implementation.
Username: cisco
Password: cisco
33 | P a g e
34 | P a g e
Part B - Configure, Apply and Verify an Extended Named ACL
Step 1: R1 Commands
R1(config)#ip access-list extended HTTP_ONLY
R1(config-ext-nacl)#permit tcp [Link] [Link] host
[Link] eq www
R1(config-ext-nacl)#permit icmp [Link] [Link] host
[Link]
R1(config-ext-nacl)#int gig 0/1
R1(config-if)#ip access-group HTTP_ONLY in
35 | P a g e
Practical 3B
Aim: Configuring Extended ACLs - Scenario 2
Topology:
Configuring IP
Addresses RTA (Router)
Gig0/0
36 | P a g e
Gig0/1
Gig0/2
37 | P a g e
PC A
PC B
38 | P a g e
Step 1: Enter this Commands in Router and Switches to configure
SWA (Switch)
SWA(config)#int vlan 1
SWA(config-if)#ip address [Link] [Link]
SWA(config-if)#no shut
SWA(config-if)#ip default-gateway [Link]
SWA(config)#enable secret enpa55
SWA(config)#line console 0
SWA(config-line)#password abhi
SWA(config-line)#login
SWB (Switch)
SWB(config)#int vlan 1
SWB(config-if)#ip address [Link] [Link]
SWB(config-if)#no shut
SWB(config-if)#ip default-gateway [Link]
SWB(config)#enable secret enpa55
SWB(config)#line console 0
SWB(config-line)#password abhi
SWB(config-line)#login
SWC (Switch)
SWC(config)#int vlan 1
SWC(config-if)#ip address [Link] [Link]
SWC(config-if)#no shut
SWC(config-if)#ip default-gateway [Link]
SWC(config-if)#ip default-gateway [Link]
SWC(config)#enable secret enpa55
SWC(config)#line console 0
SWC(config-line)#password abhi
SWC(config-line)#login
39 | P a g e
RTA (Router)
RTA(config)#enable secret enpa55
RTA(config)#line console 0
RTA(config-line)#password abhi
RTA(config-line)#login
310 | P a g
e
Step 2: Test
Connectivity. PC A to
PC B
PC A to SWC
PC B to SWC
40 | P a g e
Part 1: Configure Switch and Router to support SSH Connection
Step 1: Configure domain name and crypto key for use with SSH.
RTA (Router)
RTA(config)#ip domain-name [Link]
RTA(config)#username admin secret adminpa55
RTA(config)#line vty 0 4
RTA(config-line)#login local
RTA(config-line)#crypto key generate rsa
SWA (Switch)
SWA(config)#ip domain-name [Link]
SWA(config)#username admin secret adminpa55
SWA(config)#line vty 0 4
SWA(config-line)#login local
SWA(config-line)#crypto key generate rsa
SWB (Switch)
SWB(config)#ip domain-name [Link]
SWB(config)#username admin secret adminpa55
SWB(config)#line vty 0 4
SWB(config-line)#login local
SWB(config-line)#crypto key generate rsa
41 | P a g e
SWC (Switch)
SWC(config)#ip domain-name [Link]
SWC(config)#username admin secret adminpa55
SWC(config)#line vty 0 4
SWC(config-line)#login local
SWC(config-line)#crypto key generate rsa
42 | P a g e
Step 2: Verify the SSH Connection
43 | P a g e
44 | P a g e
Part 2: Configure, Apply and Verify an Extended Numbered ACL
Step 1: Configure the extended ACL.
RTA (Router)
RTA(config)#access-list 199 permit tcp [Link] [Link]
[Link] [Link] eq 22
RTA(config)#access-list 199 permit icmp any any
RTA(config)#int gig0/2
RTA(config-if)#ip access-group 199 out
45 | P a g e
46 | P a g e
Practical 4
Aim: Configure IP ACLs to Mitigate Attacks.
Topology:
47 | P a g e
PC C
R1
48 | P a g e
R2
R3
49 | P a g e
R1(config)#line vty 0 4
R1(config-line)#login local
R1(config-line)#crypto key generate rsa
R2
R2(config)#enable secret enpa55
R2(config)#line console 0
R2(config-line)#password conpa55
R2(config-line)#login
R2(config)#ip domain-name [Link]
R2(config)#username admin secret adminpa55
R2(config)#line vty 0 4
R2(config-line)#login local
R2(config-line)#crypto key generate rsa
R3
410 | P a g
e
411 | P a g
e
Step 3: Configure console password on router
R2
R2(config)#int loopback 0
R2(config-if)#ip address [Link] [Link]
R2(config-if)# no shut
R2
R2(config)#ip route [Link] [Link] [Link]
R2(config)#ip route [Link] [Link] [Link]
R3
R3(config)#ip route [Link] [Link] [Link]
R3(config)#ip route [Link] [Link] [Link]
412 | P a g
e
Part 1 - Verify Basic Network Connectivity
Step 1: Test Connectivity
PC A to PC C & R2
50 | P a g e
50 | P a g e
Step 2: Check in Browser
R2
R2(config)#access-list 10 permit host [Link]
R2(config)#line vty 0 4
R2(config-line)#access-class 10 in
R3
R3(config)#access-list 10 permit host [Link]
R3(config)#line vty 0 4
R3(config-line)#access-class 10 in
51 | P a g e
Step 2: Verify exclusive access from management station PC-C
PC C
52 | P a g e
Part 3 – Create a Numbered IP ACL 120 on R1
Step 1: Open PC A (Server) and go Services > HTTP
Step 2: Configure ACL 120 to specifically permit and deny the specified
traffic.
R1(config)#access-list 120 permit udp any host [Link] eq
domain
R1(config)#access-list 120 permit tcp any host [Link] eq
smtp
R1(config)#access-list 120 permit tcp any host [Link] eq
ftp
R1(config)#access-list 120 deny tcp any host [Link] eq
443
R1(config)#access-list 120 permit tcp host [Link] host
[Link] eq 22
R1(config)#int se0/1/0
R1(config-if)#ip access-group 120 in
53 | P a g e
Step 3: Verify that PC-A can successfully ping the loopback interface on
R2.
54 | P a g e
Part 4 - Modify an Existing ACL on R1
Step 1: Verify that PC-A cannot successfully ping the loopback interface on
R2.
Step 2: Make any necessary changes to ACL 120 to permit and deny the
specified traffic.
R1(config)#access-list 120 permit icmp any any echo-reply
R1(config)#access-list 120 permit icmp any any unreachable
R1(config)#access-list 120 deny icmp any any
R1(config)#access-list 120 permit ip any any
Step 3: Verify that PC-A can successfully ping the loopback interface on
R2.
55 | P a g e
Part 5 - Create a Numbered IP ACL 110 on R3
Step 1: Configure ACL 110 to permit only traffic from the inside network.
R3(config)#access-list 110 permit ip [Link] [Link] any
R3(config)#int gig0/1
R3(config-if)#ip access-group 110 in
56 | P a g e
Step 2: Confirm that the specified traffic entering interface Serial is
handled correctly.
57 | P a g e
58 | P a g e
Practical 5
Aim: Configuring IPv6 ACLs
Topology:
59 | P a g e
Server
R1
R1(config)#ipv6 unicast-routing
R1(config)#interface GigabitEthernet0/0
R1(config-if)#ipv6 address 2002::1/64
R1(config-if)#ipv6 rip a enable
R1(config-if)#no shut
R1(config-if)#exit
R1(config)#interface GigabitEthernet0/1
R1(config-if)#ipv6 address 2001::1/64
R1(config-if)#ipv6 rip a enable
R1(config-if)#no shut
R1(config-if)#exit
R1(config)#interface Serial0/1/0
R1(config-if)#ipv6 address 2003::1/64
R1(config-if)#ipv6 rip a enable
510 | P a g
e
R1(config-if)#no shut
R1(config-if)#exit
R2
Router(config)#ipv6 unicast-routing
Router(config)#interface Serial0/1/0
Router(config-if)#ipv6 address 2003::1/64
Router(config-if)#ipv6 rip a enable
Router(config-if)#no shut
Router(config-if)#exit
Router(config)#interface Serial0/1/1
Router(config-if)#ipv6 address 2004::1/64
Router(config-if)#ipv6 rip a enable
Router(config-if)#no shut
Router(config-if)#exit
R3
Router(config)#ipv6 unicast-routing
Router(config)#interface Serial0/1/1
Router(config-if)#ipv6 address 2004::2/64
Router(config-if)#ipv6 rip a enable
Router(config-if)#no shut
Router(config-if)#exit
Router(config)#interface GigabitEthernet0/0
Router(config-if)#ipv6 address 2005::1/64
Router(config-if)#ipv6 rip a enable
Router(config-if)#no shut
Router(config-if)#exit
60 | P a g e
Step 2: Test Connectivity
61 | P a g e
Step 4: Testing Connectivity
62 | P a g e
Practical 6
Aim: Configuring a Zone-Based Policy Firewall (ZPF).
Topology:
Configuring IP Addresses
PC A (Server)
63 | P a g e
PC C
R1
64 | P a g e
R2
R3
65 | P a g e
R1(config-line)#enable secret enpa55
R1(config)#ip domain-name [Link]
R1(config)#username admin secret adminpa55
R1(config)#line vty 0 4
R1(config-line)#login local
R1(config-line)#crypto key generate rsa
R1(config)#router ospf 1
R1(config-router)#network [Link] [Link] area 0
R1(config-router)#network [Link] [Link] area 0
R2
R2(config)#line console 0
R2(config-line)#password conpa55
R2(config-line)#login
R2(config-line)#exit
R2(config)#line vty 0 4
R2(config-line)#password vtypa55
R2(config-line)#login
R2(config-line)#enable secret enpa55
R2(config)#ip domain-name [Link]
R2(config)#username admin secret adminpa55
R2(config)#line vty 0 4
R2(config-line)#login local
R2(config-line)#crypto key generate rsa
66 | P a g e
R2(config)#router ospf 2
R2(config-router)#network [Link] [Link] area 0
R2(config-router)#network [Link] [Link] area 0
R3
R3(config)#line console 0
R3(config-line)#password conpa55
R3(config-line)#login
R3(config-line)#line vty 0 4
R3(config-line)#password vtypa55
R3(config-line)#login
R3(config-line)#enable secret enpa55
R3(config)#ip domain-name [Link]
R3(config)#username admin secret adminpa55
R3(config)#line vty 0 4
R3(config-line)#login local
R3(config-line)#crypto key generate rsa
R3(config)#router ospf 3
R3(config-router)#network [Link] [Link] area 0
R3(config-router)#network [Link] [Link] area 0
67 | P a g e
Part 1: Verify Basic Network Connectivity
PC A to PC C PC C to PC A
68 | P a g e
Part 2 – Create the Firewall Zones on R3
Step 1: Enable the Security Technology package.
R3
R3#show version
69 | P a g e
Part 3: Identify Traffic Using a Class-Map
Step 1: Create an ACL that defines internal traffic.
R3(config)#access-list 101 permit ip [Link] [Link] any
R3(config)#class-map type inspect match-all IN-NET-CLASS-MAP
R3(config-cmap)#match access-group 101
R3(config-cmap)#exit
70 | P a g e
Part 6: Test Firewall Functionality from IN-ZONE to OUT-ZONE
Step 1: From internal PC-C, ping the external PC-A server and SSH
71 | P a g e
72 | P a g e
Url: [Link]
R3#show policy-map type inspect zone-pair sessions
73 | P a g e
Practical 7
Aim: Configure IOS Intrusion Prevention System (IPS) Using the
CLI
Topology:
PC 1
74 | P a g e
75 | P a g e
Server 0
R1
76 | P a g e
R2
R3
77 | P a g e
Step 2: Configuring in RIP in Routers
R1
R2
78 | P a g e
R3
79 | P a g e
Part 1: Enable IOS IPS
Step 1: Enable the Security Technology package.
R1# show version
710 | P a g
e
Step 3: Write these Commands in Router 1
R1#mkdir ipsdir
(Press enter)
R1#conf t
R1(config)#ip ips config location flash:ipsdir
R1(config)#ip ips name iosips
R1(config)#ip ips notify log
R1(config)#exit
R1#clock set 01:10:10 19 FEB 2026
R1(config)#service timestamps log datetime msec
R1(config)#ip ips signature-category
R1(config-ips-category)#category all
R1(config-ips-category-action)#retired true
R1(config-ips-category-action)#exit
R1(config-ips-category)#category ios_ips basic
R1(config-ips-category-action)#retired false
R1(config-ips-category-action)#exit
R1(config-ips-category)#exit
(Press Enter)
R1(config)#int gig0/0
R1(config-if)#ip ips iosips out
R1#show all ip ips all
711 | P a g
e
Server 0 Services > Syslog
80 | P a g e
Part 2: Modify the Signature
Step 1: Write these Commands in Router 1
R1(config)#ip ips signature-definition
R1(config-sigdef)#signature 2004 0
R1(config-sigdef-sig)#status
R1(config-sigdef-sig-status)#retired false
R1(config-sigdef-sig-status)#enabled true
R1(config-sigdef-sig-status)#exit
R1(config-sigdef-sig)#engine
R1(config-sigdef-sig-engine)#event-action produce-alert
R1(config-sigdef-sig-engine)#event-action deny-packet-inline
R1(config-sigdef-sig-engine)#exit
R1(config-sigdef-sig)#exit
R1(config-sigdef)#exit
(press enter)
R1# show ip ips all
81 | P a g e
Step 2: Test Connectivity.
PC 1 to PC 0 PC 0 to PC 1
82 | P a g e
Practical 8
Aim: Layer 2 Security
Topology:
83 | P a g e
Step 1: Configuring IP Addresses
R1
C1 C2
84 | P a g e
C3 C4
D1 D2
85 | P a g e
D3 D4
Central (Router)
Central(config)#enable secret enpa55
Central(config)#line console 0
Central(config-line)#password conpa55
Central(config-line)#login
Central(config-line)#exit
Central(config)#ip domain-name [Link]
Central(config)#username admin secret adminpa55
Central(config)#line vty 0 4
Central(config-line)#login local
Central(config-line)#crypto key generate rsa
86 | P a g e
SW1 (Switch)
SW1(config)#enable secret enpa55
SW1(config)#line console 0
SW1(config-line)#password conpa55
SW1(config-line)#login
SW1(config-line)#exit
SW1(config)#ip domain-name [Link]
SW1(config)#username admin secret adminpa55
SW1(config)#line vty 0 4
SW1(config-line)#login local
SW1(config-line)#crypto key generate rsa
SW2 (Switch)
SW2(config)#enable secret enpa55
SW2(config)#line console 0
SW2(config-line)#password conpa55
SW2(config-line)#login
SW2(config-line)#exit
SW2(config)#ip domain-name [Link]
SW2(config)#username admin secret adminpa55
SW2(config)#line vty 0 4
SW2(config-line)#login local
SW2(config-line)#crypto key generate rsa
87 | P a g e
SWA (Switch)
SWA(config)#enable secret enpa55
SWA(config)#line console 0
SWA(config-line)#password conpa55
SWA(config-line)#login
SWA(config-line)#exit
SWA(config)#ip domain-name [Link]
SWA(config)#username admin secret adminpa55
SWA(config)#line vty 0 4
SWA(config-line)#login local
SWA(config-line)#crypto key generate rsa
SWB (Switch)
SWB(config)#enable secret enpa55
SWB(config)#line console 0
SWB(config-line)#password conpa55
SWB(config-line)#login
SWB(config-line)#exit
SWB(config)#ip domain-name [Link]
SWB(config)#username admin secret adminpa55
SWB(config)#line vty 0 4
SWB(config-line)#login local
SWB(config-line)#crypto key generate rsa
88 | P a g e
Part 2: Configure Root Bridge
Step 1: Determine the current root bridge.
Central#show spanning-tree
SW1#show spanning-tree
89 | P a g e
Part 4: Configure Port Security and Disable Unused Ports
Step 1: Configure basic port security on all ports connected to host devices.
SWA(config)#int range fa0/1 - 22
SWA(config-if-range)#switchport mode access
SWA(config-if-range)#switchport port-security
SWA(config-if-range)#switchport port-security maximum 2
SWA(config-if-range)#switchport port-security violation
shutdown
SWA(config-if-range)#switchport port-security mac-address
sticky
SWB(config)#int range fa0/1 - 22
SWB(config-if-range)#switchport mode access
SWB(config-if-range)#switchport port-security
SWB(config-if-range)# switchport port-security maximum 2
SWB(config-if-range)#switchport port-security violation
shutdown
SWB(config-if-range)#switchport port-security mac-address
sticky
90 | P a g e
Step 4: Verify Connectivity
91 | P a g e
Step 5: Verify port security.
92 | P a g e