Professional Documents
Culture Documents
Topology
Addressing Table
Device Interface IP Address / Prefix
S1 VLAN 99
2001:db8:acad::2 /64
S1 VLAN 99
fe80::2
PC-A NIC 192.168.1.10 /24
PC-A NIC
2001:db8:acad:3 /64
PC-A NIC
fe80::3
Objectives
Part 1: Cable the Network and Verify the Default Switch Configuration
Part 2: Configure Basic Network Device Settings
• Configure basic switch settings.
• Configure the PC IP address.
Part 3: Verify and Test Network Connectivity
• Display device configuration.
• Test end-to-end connectivity with ping.
• Test remote management capabilities with Telnet.
Part 4: Manage the MAC Address Table
• Record the MAC address of the host.
• Determine the MAC addresses that the switch has learned.
• List the show mac address-table command options.
• Set up a static MAC address.
© 2013 - 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 1 of 11 www.netacad.com
1
Lab - Basic Switch Configuration
Background / Scenario
Cisco switches can be configured with a special IP address known as the switch virtual interface (SVI). The
SVI, or management address, can be used for remote access to the switch to display or configure settings. If
the VLAN 1 SVI is assigned an IP address, by default all ports in VLAN 1 have access to the SVI IP address.
In this lab, you will build a simple topology using Ethernet LAN cabling and access a Cisco switch using the
console and remote access methods. You will examine default switch configurations before configuring basic
switch settings. These basic switch settings include device name, interface description, local passwords,
message of the day (MOTD) banner, IP addressing, and static MAC address. You will also demonstrate the
use of a management IP address for remote switch management. The topology consists of one switch and
one host using only Ethernet and console ports.
Note: The switches used are Cisco Catalyst 2960s with Cisco IOS Release 15.2(2) (lanbasek9 image). Other
switches and Cisco IOS versions can be used. Depending on the model and Cisco IOS version, the
commands available and output produced might vary from what is shown in the labs.
Note: Make sure that the switches have been erased and have no startup configurations. If you are unsure,
contact your instructor. Refer to Appendix A for the procedures to initialize and reload a switch.
The default bias template used by the Switch Database Manager (SDM) does not provide IPv6 address
capabilities. Verify that SDM is using either the dual-ipv4-and-ipv6 template or the lanbase-routing
template. The new template will be used after reboot even if the configuration is not saved.
Open configuration window
Required Resources
• 1 Switch (Cisco 2960 with Cisco IOS Release 15.2(2) lanbasek9 image or comparable)
• 1 PC (Windows with terminal emulation program, such as Tera Term)
• 1 Console cable to configure the Cisco IOS device via the console port
• 1 Ethernet cable as shown in the topology
Part 1: Cable the Network and Verify the Default Switch Configuration
In Part 1, you will set up the network topology and verify default switch settings.
Why must you use a console connection to initially configure the switch? Why is it not possible to connect
to the switch via Telnet or SSH?
Type your answers here.
© 2013 - 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 2 of 11 www.netacad.com
2
Lab - Basic Switch Configuration
Notice that the prompt changed in the configuration to reflect privileged EXEC mode.
Verify that there is a clean default configuration file on the switch by issuing the show running-config
privileged EXEC mode command. If a configuration file was previously saved, it must be removed.
Depending on the switch model and IOS version, your configuration may look slightly different. However,
there should be no configured passwords or IP address. If your switch does not have a default
configuration, erase and reload the switch.
Note: Appendix A details the steps to initialize and reload a switch.
b. Examine the current running configuration file.
Questions:
© 2013 - 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 3 of 11 www.netacad.com
3
Lab - Basic Switch Configuration
© 2013 - 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 4 of 11 www.netacad.com
4
Lab - Basic Switch Configuration
b. Set the SVI IP address of the switch. This allows remote management of the switch.
Before you can manage S1 remotely from PC-A, you must assign the switch an IP address. The default
configuration on the switch is to have the management of the switch controlled through VLAN 1.
However, a best practice for basic switch configuration is to change the management VLAN to a VLAN
other than VLAN 1.
For management purposes, use VLAN 99. The selection of VLAN 99 is arbitrary and in no way implies
that you should always use VLAN 99.
First, create the new VLAN 99 on the switch. Then set the IP address of the switch to 192.168.1.2 with a
subnet mask of 255.255.255.0 on the internal virtual interface VLAN 99. IPv6 address can also be
configured on the SVI interface. Use the IPv6 addresses listed in the Addressing Table.
Notice that the VLAN 99 interface is in the down state even though you entered the no shutdown
command. The interface is currently down because no switch ports are assigned to VLAN 99.
c. Assign all user ports to VLAN 99.
To establish connectivity between the host and the switch, the ports used by the host must be in the
same VLAN as the switch. Notice in the above output that the VLAN 1 interface goes down because none
of the ports are assigned to VLAN 1. After a few seconds, VLAN 99 comes up because at least one active
port (F0/6 with PC-A attached) is now assigned to VLAN 99.
d. Issue the show vlan brief command to verify that all ports are in VLAN 99.
e. Configure the default gateway for S1. If no default gateway is set, the switch cannot be managed from a
remote network that is more than one router away. Although this activity does not include an external IP
gateway, assume that you will eventually connect the LAN to a router for external access. Assuming that
the LAN interface on the router is 192.168.1.1, set the default gateway for the switch.
f. Console port access should also be restricted with a password. Use cisco as the console login password
in this activity. The default configuration is to allow all console connections with no password needed. To
prevent console messages from interrupting commands, use the logging synchronous option.
S1(config)# line con 0
S1(config-line)# logging synchronous
© 2013 - 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 5 of 11 www.netacad.com
5
Lab - Basic Switch Configuration
g. Configure the virtual terminal (vty) lines for the switch to allow telnet access. If you do not configure a vty
password, you will not be able to telnet to the switch.
Question:
© 2013 - 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 6 of 11 www.netacad.com
6
Lab - Basic Switch Configuration
!
enable secret 5 $1$mtvC$6NC.1VKr3p6bj7YGE.jNg0
!
no aaa new-model
system mtu routing 1500
!
!
no ip domain-lookup
!
<output omitted>
!
interface FastEthernet0/24
switchport access vlan 99
!
interface GigabitEthernet0/1
switchport access vlan 99
!
interface GigabitEthernet0/2
switchport access vlan 99
!
interface Vlan1
no ip address
no ip route-cache
!
interface Vlan99
ip address 192.168.1.2 255.255.255.0
ipv6 address FE80::2 link-local
ipv6 address 2001:DB8:ACAD::2/64
!
ip default-gateway 192.168.1.1
ip http server
ip http secure-server
!
banner motd ^C
Unauthorized access is strictly prohibited. ^C
!
line con 0
password 7 00071A150754
logging synchronous
login
line vty 0 4
password 7 121A0C041104
login
line vty 5 15
password 7 121A0C041104
login
!
end
© 2013 - 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 7 of 11 www.netacad.com
7
Lab - Basic Switch Configuration
© 2013 - 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 8 of 11 www.netacad.com
8
Lab - Basic Switch Configuration
Display the MAC addresses using the show mac address-table command.
S1# show mac address-table
Questions:
How many options are available for the show mac address-table command?
Type your answers here.
b. Issue the show mac address-table dynamic command to display only the MAC addresses that were
learned dynamically.
S1# show mac address-table dynamic
Question:
© 2013 - 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 9 of 11 www.netacad.com
9
Lab - Basic Switch Configuration
f. Remove the static MAC entry. Enter global configuration mode and remove the command by putting a no
in front of the command string.
Note: The MAC address 0050.56BE.6C89 is used in the example only. Use the MAC address for PC-A.
S1(config)# no mac address-table static 0050.56BE.6C89 vlan 99 interface
fastethernet 0/6
g. Verify that the static MAC address has been cleared.
S1# show mac address-table
Question:
Reflection Questions
1. Why should you configure the vty password for the switch?
Type your answers here.
2. Why change the default VLAN 1 to a different VLAN number?
Type your answers here.
3. How can you prevent passwords from being sent in plain text?
Type your answers here.
4. Why configure a static MAC address on a port interface?
Type your answers here.
© 2013 - 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 10 of 11 www.netacad.com
10
Lab - Basic Switch Configuration
Switch> enable
Switch#
b. Use the show flash command to determine if any VLANs have been created on the switch.
Switch# show flash
Directory of flash:/
c. If the vlan.dat file was found in flash, then delete this file.
Switch# delete vlan.dat
Delete filename [vlan.dat]?
d. You are prompted to verify the filename. If you have entered the name correctly, press Enter; otherwise,
you can change the filename.
You are prompted to confirm deletion of this file. Press Enter to confirm.
Delete flash:/vlan.dat? [confirm]
Switch#
e. Use the erase startup-config command to erase the startup configuration file from NVRAM. You are
prompted to remove the configuration file. Press Enter to confirm.
Switch# erase startup-config
Erasing the nvram filesystem will remove all configuration files! Continue? [confirm]
[OK]
Erase of nvram: complete
Switch#
f. Reload the switch to remove any old configuration information from memory. You will then receive a
prompt to confirm reloading of the switch. Press Enter to proceed.
Switch# reload
Proceed with reload? [confirm]
Note: You may receive a prompt to save the running configuration prior to reloading the switch. Respond
by typing no and press Enter.
System configuration has been modified. Save? [yes/no]: no
g. After the switch reloads, you should see a prompt to enter the initial configuration dialog. Respond by
entering no at the prompt and press Enter.
Would you like to enter the initial configuration dialog? [yes/no]: no
Switch>
Close configuration window
End of document
© 2013 - 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 11 of 11 www.netacad.com
11
Lab - Configure Basic Router Settings
Topology
Addressing Table
Device Interface IP Address / Prefix Default Gateway
R1 G0/0/0
2001:db8:acad::1 /64 N/A
R1 G0/0/0
fe80::1 N/A
R1
G0/0/1 192.168.1.1 /24 N/A
R1 G0/0/1
2001:db8:acad:1::1 /64 N/A
R1 G0/0/1
fe80::1 N/A
R1
Loopback0 10.0.0.1 /24 N/A
R1 Loopback0
2001:db8:acad:2::1 /64 N/A
R1 Loopback0
fe80::1 N/A
PC-A NIC
2001:db8:acad:1::10 /64 fe80::1
PC-B NIC 192.168.0.10 /24 192.168.0.1
PC-B NIC
2001:db8:acad::10 /64 fe80::1
Objectives
Part 1: Set Up the Topology and Initialize Devices
• Cable equipment to match the network topology.
• Initialize and restart the router and switch.
Part 2: Configure Devices and Verify Connectivity
• Assign static IPv4 and IPv6 information to the PC interfaces.
• Configure basic router settings.
• Configure the router for SSH.
• Verify network connectivity.
Part 3: Display Router Information
© 2013 - 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 1 of 6 www.netacad.com
12
Lab - Configure Basic Router Settings
Background / Scenario
This is a comprehensive lab to review previously covered IOS router commands. In Parts 1 and 2, you will
cable the equipment and complete basic configurations and interface settings on the router.
In Part 3, you will use SSH to connect to the router remotely and utilize the IOS commands to retrieve
information from the device to answer questions about the router.
For review purposes, this lab provides the commands necessary for specific router configurations.
Note: The routers used with CCNA hands-on labs are Cisco 4221 with Cisco IOS XE Release 16.9.4
(universalk9 image). The switches used in the labs are Cisco Catalyst 2960s with Cisco IOS Release 15.2(2)
(lanbasek9 image). Other routers, switches, and Cisco IOS versions can be used. Depending on the model
and Cisco IOS version, the commands available and the output produced might vary from what is shown in
the labs. Refer to the Router Interface Summary Table at the end of the lab for the correct interface identifiers.
Note: Make sure that the router and switch have been erased and have no startup configurations. Consult
with your instructor for the procedure to initialize and reload a router and switch.
Required Resources
• 1 Router (Cisco 4221 with Cisco IOS XE Release 16.9.4 universal image or comparable)
• 1 Switch (Cisco 2960 with Cisco IOS Release 15.2(2) lanbasek9 image or comparable)
• 2 PCs (Windows with a terminal emulation program, such as Tera Term)
• Console cables to configure the Cisco IOS devices via the console ports
• Ethernet cables as shown in the topology
Note: The Gigabit Ethernet interfaces on Cisco 4221 routers are autosensing and an Ethernet straight-
through cable may be used between the router and PC-B. If using another model Cisco router, it may be
necessary to use an Ethernet crossover cable.
Instructions
© 2013 - 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 2 of 6 www.netacad.com
13
Lab - Configure Basic Router Settings
What would be the result of reloading the router prior to completing the copy running-config startup-
config command?
Type your answers here.
© 2013 - 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 3 of 6 www.netacad.com
14
Lab - Configure Basic Router Settings
What is the name of the IOS image that the router is running?
Type your answers here.
How much non-volatile random-access memory (NVRAM) does the router have?
Type your answers here.
How much Flash memory does the router have?
Type your answers here.
b. The show commands often provide multiple screens of outputs. Filtering the output allows a user to
display certain sections of the output. To enable the filtering command, enter a pipe (|) character after a
show command, followed by a filtering parameter and a filtering expression. You can match the output to
the filtering statement by using the include keyword to display all lines from the output that contain the
filtering expression. Filter the show version command, using show version | include register to answer
the following question.
What is the boot process for the router on the next reload?
Type your answers here.
© 2013 - 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 4 of 6 www.netacad.com
15
Lab - Configure Basic Router Settings
What code is used in the routing table to indicate a directly connected network?
Type your answers here.
How many route entries are coded with a C code in the routing table?
Type your answers here.
What command changed the status of the Gigabit Ethernet ports from administratively down to up?
Type your answers here.
b. Use the show ipv6 int brief command to verify IPv6 settings on R1.
Question:
c. On PC-B, change its configuration so that it no longer has a static IPv6 address. You may have to reboot
the machine. Then, issue the ipconfig command on PC-B to examine the IPv6 configuration.
Questions:
Reflection Questions
1. In researching a network connectivity issue, a technician suspects that an interface was not enabled. What
show command could the technician use to troubleshoot this issue?
Type your answers here.
2. In researching a network connectivity issue, a technician suspects that an interface was assigned an incorrect
subnet mask. What show command could the technician use to troubleshoot this issue?
Type your answers here.
© 2013 - 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 5 of 6 www.netacad.com
16
Lab - Configure Basic Router Settings
Note: To find out how the router is configured, look at the interfaces to identify the type of router and how many
interfaces the router has. There is no way to effectively list all the combinations of configurations for each router
class. This table includes identifiers for the possible combinations of Ethernet and Serial interfaces in the device.
The table does not include any other type of interface, even though a specific router may contain one. An
example of this might be an ISDN BRI interface. The string in parenthesis is the legal abbreviation that can be
used in Cisco IOS commands to represent the interface.
End of document
© 2013 - 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 6 of 6 www.netacad.com
17
Lab - Configure VLANs and Trunking
Topology
Addressing Table
Device Interface IP Address Subnet Mask Default Gateway
Objectives
Part 1: Build the Network and Configure Basic Device Settings
Part 2: Create VLANs and Assign Switch Ports
Part 3: Maintain VLAN Port Assignments and the VLAN Database
Part 4: Configure an 802.1Q Trunk between the Switches
Part 5: Delete the VLAN Database
Background / Scenario
Modern switches use virtual local-area networks (VLANs) to improve network performance by separating
large Layer 2 broadcast domains into smaller ones. VLANs can also be used as a security measure by
controlling which hosts can communicate. In general, VLANs make it easier to design a network to support
the goals of an organization.
VLAN trunks are used to span VLANs across multiple devices. Trunks allow the traffic from multiple VLANS to
travel over a single link, while keeping the VLAN identification and segmentation intact.
In this lab, you will create VLANs on both switches in the topology, assign VLANs to switch access ports,
verify that VLANs are working as expected, and then create a VLAN trunk between the two switches to allow
hosts in the same VLAN to communicate through the trunk, regardless of which switch the host is actually
attached to.
Note: The switches used with CCNA hands-on labs are Cisco Catalyst 2960s with Cisco IOS Release 15.2(2)
(lanbasek9 image). Other routers, switches, and Cisco IOS versions can be used. Depending on the model
and Cisco IOS version, the commands available and the output produced might vary from what is shown in
the labs. Refer to the Router Interface Summary Table at the end of the lab for the correct interface identifiers.
Note: Ensure that the routers and switches have been erased and have no startup configurations. If you are
unsure contact your instructor.
© 2013 - 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 1 of 8 www.netacad.com
18
Lab - Configure VLANs and Trunking
Required Resources
• 2 Switches (Cisco 2960 with Cisco IOS Release 15.2(2) lanbasek9 image or comparable)
• 2 PCs (Windows with a terminal emulation program, such as Tera Term)
• Console cables to configure the Cisco IOS devices via the console ports
• Ethernet cables as shown in the topology
Instructions
© 2013 - 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 2 of 8 www.netacad.com
19
Lab - Configure VLANs and Trunking
© 2013 - 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 3 of 8 www.netacad.com
20
Lab - Configure VLANs and Trunking
© 2013 - 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 4 of 8 www.netacad.com
21
Lab - Configure VLANs and Trunking
Note: Current switch technology no longer requires that the vlan command be issued to add a VLAN to
the database. By assigning an unknown VLAN to a port, the VLAN will be created and added to the VLAN
database.
b. Verify that the new VLAN is displayed in the VLAN table.
Question:
After deleting VLAN 30 from the VLAN database, what VLAN is port F0/24 assigned to? What happens to
the traffic destined to the host attached to F0/24?
Type your answers here.
© 2013 - 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 5 of 8 www.netacad.com
22
Lab - Configure VLANs and Trunking
Note: Before removing a VLAN from the database, it is recommended that you reassign all the ports
assigned to that VLAN.
Why should you reassign a port to another VLAN before removing the VLAN from the VLAN database?
Type your answers here.
b. Issue the show vlan brief command on S1 and S2. Interface F0/1 is no longer assigned to VLAN 1.
Trunked interfaces are not listed in the VLAN table.
c. Issue the show interfaces trunk command to view trunked interfaces. Notice that the mode on S1 is set
to desirable, and the mode on S2 is set to auto.
S1# show interfaces trunk
© 2013 - 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 6 of 8 www.netacad.com
23
Lab - Configure VLANs and Trunking
Why might you want to manually configure an interface to trunk mode instead of using DTP?
Type your answers here.
Issue the show flash command to determine if a vlan.dat file exists in flash.
S1# show flash:
Note: If there is a vlan.dat file located in flash, then the VLAN database does not contain its default
settings.
© 2013 - 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 7 of 8 www.netacad.com
24
Lab - Configure VLANs and Trunking
b. Issue the show flash command to verify that the vlan.dat file has been deleted.
S1# show flash:
Question:
To initialize a switch back to its default settings, what other commands are needed?
Type your answers here.
Reflection Questions
1. What is needed to allow hosts on VLAN 10 to communicate to hosts on VLAN 99?
Type your answers here.
2. What are some primary benefits that an organization can receive through effective use of VLANs?
Type your answers here.
End of Document
© 2013 - 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 8 of 8 www.netacad.com
25
Lab - Implement VLANs and Trunking
Topology
Addressing Table
Device Interface IP Address Subnet Mask
S1
VLAN 20 192.168.20.11 255.255.255.0
S1
VLAN 30 192.168.30.11 255.255.255.0
S2 VLAN 10 192.168.10.12 255.255.255.0
PC-A NIC 192.168.20.13 255.255.255.0
PC-B NIC 192.168.30.13 255.255.255.0
VLAN Table
VLAN Name Interface Assigned
S1: VLAN 10
10 Management S2: VLAN 10
20 Sales S1: VLAN 20 and F0/6
S1: VLAN 30
30 Operations S2: F0/18
S1: F0/2-5, F0/7-24, G0/1-2
999 ParkingLot S2: F0/2-17, F0/19-24, G0/1-2
1000 Native N/A
Objectives
Part 1: Build the Network and Configure Basic Device Settings
Part 2: Create VLANs and Assign Switch Ports
Part 3: Configure an 802.1Q Trunk between the Switches
© 2019 - 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 1 of 3 www.netacad.com
26
Lab - Implement VLANs and Trunking
Background / Scenario
Modern switches use virtual local-area networks (VLANs) to improve network performance by separating
large Layer 2 broadcast domains into smaller ones. VLANs address scalability, security, and network
management. In general, VLANs make it easier to design a network to support the goals of an organization.
Communication between VLANs requires a device operating at Layer 3 of the OSI model.
VLAN trunks are used to span VLANs across multiple devices. Trunks allow the traffic from multiple VLANs to
travel over a single link, while keeping the VLAN identification and segmentation intact.
In this lab, you will create VLANs on both switches in the topology, assign VLANs to switch access ports,
verify that VLANs are working as expected and create VLAN trunks between the two switches.
Note: The switches used with CCNA hands-on labs are Cisco Catalyst 2960s with Cisco IOS Release 15.2(2)
(lanbasek9 image). Other switches and Cisco IOS versions can be used. Depending on the model and Cisco
IOS version, the commands available and the output produced might vary from what is shown in the labs.
Refer to the Router Interface Summary Table at the end of the lab for the correct interface identifiers.
Note: Ensure that the switches have been erased and have no startup configurations. If you are unsure
contact your instructor.
Required Resources
• 2 Switches (Cisco 2960 with Cisco IOS Release 15.2(2) lanbasek9 image or comparable)
• 2 PCs (Windows with a terminal emulation program, such as Tera Term)
• 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 on the PC hosts and switches.
© 2019 - 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 2 of 3 www.netacad.com
27
Lab - Implement VLANs and Trunking
a. Create and name the required VLANs on each switch from the table above.
b. Configure the management interface on each switch using the IP address information in the Addressing
Table.
c. Assign all unused ports on the switch to the ParkingLot VLAN, configure them for static access mode,
and administratively deactivate them.
a. Change the switchport mode on interface F0/1 to force trunking. Make sure to do this on both switches.
b. Set the native VLAN to 1000 on both switches.
c. As another part of trunk configuration, specify that only VLANs 10, 20, 30, and 1000 are allowed to cross
the trunk.
d. Issue the show interfaces trunk command to verify trunking ports, the native VLAN and allowed VLANs
across the trunk.
Close configuration window
© 2019 - 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 3 of 3 www.netacad.com
28
Lab - Configure Router-on-a-Stick Inter-VLAN Routing
Topology
Addressing Table
Device Interface IP Address Subnet Mask Default Gateway
R1
G0/0/1.4 192.168.4.1 255.255.255.0 N/A
R1
G0/0/1.8 N/A N/A N/A
VLAN Table
VLAN Name Interface Assigned
S1: VLAN 3
S2: VLAN 3
3 Management S1: F0/6
4 Operations S2: F0/18
S1: F0/2-4, F0/7-24, G0/1-2
7 ParkingLot S2: F0/2-17, F0/19-24, G0/1-2
8 Native N/A
© 2013 - 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 1 of 5 www.netacad.com
29
Lab - Configure Router-on-a-Stick Inter-VLAN Routing
Objectives
Part 1: Build the Network and Configure Basic Device Settings
Part 2: Create VLANs and Assign Switch Ports
Part 3: Configure an 802.1Q Trunk between the Switches
Part 4: Configure Inter-VLAN Routing on the Router
Part 5: Verify Inter-VLAN Routing is working
Background / Scenario
Modern switches use virtual local-area networks (VLANs) to provide segmentation services traditionally
provided by routers in LAN configurations. VLANs address scalability, security, and network management. In
general, VLANs make it easier to design a network to support the goals of an organization. Communication
between VLANs requires a device operating at Layer 3 of the OSI model. Routers in VLAN topologies provide
additional security and traffic flow management.
VLAN trunks are used to span VLANs across multiple devices. Trunks allow the traffic from multiple VLANS to
travel over a single link, while keeping the VLAN identification and segmentation intact. A particular kind of
inter-VLAN routing, called “Router-On-A-Stick”, uses a trunk from the router to the switch to enable all VLANs
to pass to the router.
In this lab, you will create VLANs on both switches in the topology, assign VLANs to switch access ports,
verify that VLANs are working as expected, create VLAN trunks between the two switches and between S1
and R1, and configure Inter-VLAN routing on R1 to allow hosts in different VLANs to communicate, regardless
of which subnet the host resides.
Note: The routers used with CCNA hands-on labs are Cisco 4221 with Cisco IOS XE Release 16.9.4
(universalk9 image). The switches used in the labs are Cisco Catalyst 2960s with Cisco IOS Release 15.2(2)
(lanbasek9 image). Other routers, switches, and Cisco IOS versions can be used. Depending on the model
and Cisco IOS version, the commands available and the output produced might vary from what is shown in
the labs. Refer to the Router Interface Summary Table at the end of the lab for the correct interface identifiers.
Note: Ensure that the routers and switches have been erased and have no startup configurations. If you are
unsure, contact your instructor.
Required Resources
• 1 Router (Cisco 4221 with Cisco IOS XE Release 16.9.4 universal image or comparable)
• 2 Switches (Cisco 2960 with Cisco IOS Release 15.2(2) lanbasek9 image or comparable)
• 2 PCs (Windows with a terminal emulation program, such as Tera Term)
• Console cables to configure the Cisco IOS devices via the console ports
• Ethernet cables as shown in the topology
Instructions
© 2013 - 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 2 of 5 www.netacad.com
30
Lab - Configure Router-on-a-Stick Inter-VLAN Routing
© 2013 - 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 3 of 5 www.netacad.com
31
Lab - Configure Router-on-a-Stick Inter-VLAN Routing
a. Create and name the required VLANs on each switch from the table above.
b. Configure the management interface and default gateway on each switch using the IP address
information in the Addressing Table.
c. Assign all unused ports on both switches to the ParkingLot VLAN, configure them for static access mode,
and administratively deactivate them.
Note: The interface range command is helpful to accomplish this task with as few commands as
necessary.
a. Change the switchport mode on interface F0/1 to force trunking. Make sure to do this on both switches.
b. As a part of the trunk configuration, set the native VLAN to 8 on both switches. You may see error
messages temporarily while the two interfaces are configured for different native VLANs.
c. As another part of trunk configuration, specify that VLANs 3, 4, and 8 are only allowed to cross the trunk.
d. Issue the show interfaces trunk command to verify trunking ports, the Native VLAN and allowed VLANs
across the trunk.
© 2013 - 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 4 of 5 www.netacad.com
32
Lab - Configure Router-on-a-Stick Inter-VLAN Routing
Note: To find out how the router is configured, look at the interfaces to identify the type of router and how many
interfaces the router has. There is no way to effectively list all the combinations of configurations for each router
class. This table includes identifiers for the possible combinations of Ethernet and Serial interfaces in the device.
The table does not include any other type of interface, even though a specific router may contain one. An
example of this might be an ISDN BRI interface. The string in parenthesis is the legal abbreviation that can be
used in Cisco IOS commands to represent the interface.
End of Document
© 2013 - 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 5 of 5 www.netacad.com
33
Lab - Troubleshoot Inter-VLAN Routing
Topology
Addressing Table
Device Interface IP Address Subnet Mask Default Gateway
VLAN Table
VLAN Name Interface Assigned
S1: VLAN 3
3 Management S2: VLAN 3
4 Operations S1: F0/6
S1: F0/2-4, F0/7-24, G0/1-2
7 ParkingLot S2: F0/2-17, F0/19-24, G0/1-2
8 Native N/A
13 Maintenance S2: F0/18
© 2013 - 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 1 of 3 www.netacad.com
34
Lab - Troubleshoot Inter-VLAN Routing
Objectives
Part 1: Evaluate Network Operation
Part 2: Gather information, create an action plan, and implement corrections
Background / Scenario
Your instructor has preconfigured all the network equipment and has included intentional errors that are
keeping the inter-VLAN routing from working. Your task is to evaluate the network and identify and correct the
configuration errors to restore full connectivity. You may find errors with the configurations which are not
directly related to inter-VLAN routing that impact the ability of the network devices to perform this function.
Note: The design approach used in this lab is to assess your ability to configure and troubleshoot inter-VLAN
routing only. This design may not reflect networking best practices.
Note: The router used with CCNA hands-on labs it the Cisco 4221 with Cisco IOS XE Release 16.9.4
(universalk9 image). The switches used in the labs are Cisco Catalyst 2960s with Cisco IOS Release 15.2(2)
(lanbasek9 image). Other routers, switches, and Cisco IOS versions can be used. Depending on the model
and Cisco IOS version, the commands available and the output produced might vary from what is shown in
the labs. Refer to the Router Interface Summary Table at the end of the lab for the correct interface identifiers.
Note: Ensure that the routers and switches have been erased and have no startup configurations. If you are
unsure contact your instructor.
Required Resources
• 1 Router (Cisco 4221 with Cisco IOS XE Release 16.9.4 universal image or comparable)
• 2 Switches (Cisco 2960 with Cisco IOS Release 15.2(2) lanbasek9 image or comparable)
• 2 PCs (Windows with a terminal emulation program, such as Tera Term)
• Console cables to configure the Cisco IOS devices via the console ports
• Ethernet cables as shown in the topology
Instructions
© 2013 - 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 2 of 3 www.netacad.com
35
Lab - Troubleshoot Inter-VLAN Routing
End of document
© 2013 - 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 3 of 3 www.netacad.com
36
Lab - Implement Inter-VLAN Routing
Topology
Addressing Table
Device Interface IP Address Subnet Mask Default Gateway
R1
G0/0/1.20 192.168.20.1 255.255.255.0 N/A
R1
G0/0/1.30 192.168.30.1 255.255.255.0 N/A
R1
G0/0/1.1000 N/A N/A N/A
VLAN Table
VLAN Name Interface Assigned
S1: VLAN 10
10 Management S2: VLAN 10
20 Sales S1: F0/6
30 Operations S2: F0/18
S1: F0/2-4, F0/7-24, G0/1-2
999 Parking_Lot S2: F0/2-17, F0/19-24, G0/1-2
1000 Native N/A
© 2019 - 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 1 of 5 www.netacad.com
37
Lab - Implement Inter-VLAN Routing
Objectives
Part 1: Build the Network and Configure Basic Device Settings
Part 2: Create VLANs and Assign Switch Ports
Part 3: Configure an 802.1Q Trunk between the Switches
Part 4: Configure Inter-VLAN Routing on the Router
Part 5: Verify Inter-VLAN Routing is working
Background / Scenario
Modern switches use virtual local-area networks (VLANs) to improve network performance by separating
large Layer 2 broadcast domains into smaller ones. VLANs can also be used as a security measure by
separating sensitive data traffic from the rest of the network. In general, VLANs make it easier to design a
network to support the goals of an organization. Communication between VLANs requires a device operating
at Layer 3 of the OSI model. Adding an inter-VLAN router allows the organization to segregate and separate
broadcast domains while simultaneously allowing them to communicate with each other.
VLAN trunks are used to span VLANs across multiple devices. Trunks allow the traffic from multiple VLANs to
travel over a single link, while keeping the VLAN identification and segmentation intact. A particular kind of
inter-VLAN routing, called “Router-on-a-Stick”, uses a trunk from the router to the switch to enable all VLANs
to pass to the router.
In this lab, you will create VLANs on both switches in the topology, assign VLANs to switch access ports,
verify that VLANs are working as expected, create VLAN trunks between the two switches and between S1
and R1, and configure Inter-VLAN routing on R1 to allow hosts in different VLANs to communicate, regardless
of which subnet the host resides.
Note: The routers used with CCNA hands-on labs are Cisco 4221 with Cisco IOS XE Release 16.9.4
(universalk9 image). The switches used in the labs are Cisco Catalyst 2960s with Cisco IOS Release 15.2(2)
(lanbasek9 image). Other routers, switches, and Cisco IOS versions can be used. Depending on the model
and Cisco IOS version, the commands available and the output produced might vary from what is shown in
the labs. Refer to the Router Interface Summary Table at the end of the lab for the correct interface identifiers.
Note: Ensure that the routers and switches have been erased and have no startup configurations. If you are
unsure contact your instructor.
Required Resources
• 1 Router (Cisco 4221 with Cisco IOS XE Release 16.9.4 universal image or comparable)
• 2 Switches (Cisco 2960 with Cisco IOS Release 15.2(2) lanbasek9 image or comparable)
• 2 PCs (Windows with a terminal emulation program, such as Tera Term)
• 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 on the PC hosts and switches.
© 2019 - 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 2 of 5 www.netacad.com
38
Lab - Implement Inter-VLAN Routing
b. Configure the management interface and default gateway on each switch using the IP address
information in the Addressing Table.
c. Assign all unused ports on the switch to the Parking_Lot VLAN, configure them for static access mode,
and administratively deactivate them.
© 2019 - 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 3 of 5 www.netacad.com
39
Lab - Implement Inter-VLAN Routing
Note: The interface range command is helpful to accomplish this task with as few commands as
necessary.
Step 2: Complete the following tests from PC-A. All should be successful.
Note: You may have to disable the PC firewall for pings to work
a. Ping from PC-A to its default gateway.
b. Ping from PC-A to PC-B
c. Ping from PC-A to S2
© 2019 - 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 4 of 5 www.netacad.com
40
Lab - Implement Inter-VLAN Routing
Question:
Note: To find out how the router is configured, look at the interfaces to identify the type of router and how many
interfaces the router has. There is no way to effectively list all the combinations of configurations for each router
class. This table includes identifiers for the possible combinations of Ethernet and Serial interfaces in the device.
The table does not include any other type of interface, even though a specific router may contain one. An
example of this might be an ISDN BRI interface. The string in parenthesis is the legal abbreviation that can be
used in Cisco IOS commands to represent the interface.
End of document
© 2019 - 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 5 of 5 www.netacad.com
41
Lab - Implement EtherChannel
Topology
Addressing Table
Device Interface IP Address Subnet Mask
VLAN Table
VLAN Name Interface Assigned
10 Management VLAN 10
S1: F0/6
20 Clients S2: F0/18
S1: F0/3-5, F0/7-24, G0/1-2
999 Parking_Lot S2: F0/3-17, F0/19-24, G0/1-2
1000 Native N/A
Objectives
Part 1: Build the Network and Configure Basic Device Settings
Part 2: Create VLANs and Assign Switch Ports
Part 3: Configure 802.1Q Trunks between the Switches
Part 4: Implement and Verify an EtherChannel between the switches
Background / Scenario
Link aggregation allows the creation of logical links that are comprised of two or more physical links. This
provides increased throughput beyond using only one physical link. Link aggregation also provides
redundancy if one of the links fails.
In this lab, you will configure EtherChannel, a form of link aggregation used in switched networks. You will
configure EtherChannel using Link Aggregation Control Protocol (LACP).
© 2019 - 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 1 of 3 www.netacad.com
42
Lab - Implement EtherChannel
Note: LACP is a link aggregation protocol that is defined by IEEE 802.3ad, and it is not associated with any
specific vendor.
LACP allows Cisco switches to manage Ethernet channels between switches that conform to the 802.3ad
protocol. You can configure up to 16 ports to form a channel. Eight of the ports are in active mode and the
other eight are in standby mode. When any of the active ports fail, a standby port becomes active. Standby
mode works only for LACP, not for PAgP.
Note: The switches used with CCNA hands-on labs are Cisco Catalyst 2960s with Cisco IOS Release 15.2(2)
(lanbasek9 image). Other switches and Cisco IOS versions can be used. Depending on the model and Cisco
IOS version, the commands available and output produced might vary from what is shown in the labs.
Note: Make sure that the switches have been erased and have no startup configurations. If you are unsure,
contact your instructor.
Required Resources
• 2 Switches (Cisco 2960 with Cisco IOS Release 15.2(2) lanbasek9 image or comparable)
• 2 PCs (Windows with a terminal emulation program, such as Tera Term)
• Console cables to configure the Cisco IOS devices via the console ports
• Ethernet cables as shown in the topology
Instructions
b. Disable DNS lookup to prevent the router from attempting to translate incorrectly entered commands as
though they were host names.
c. Assign class as the privileged EXEC encrypted password.
d. Assign cisco as the console password and enable login.
e. Assign cisco as the VTY password and enable login.
f. Encrypt the plaintext passwords.
g. Create a banner that warns anyone accessing the device that unauthorized access is prohibited.
h. Save the running configuration to the startup configuration file.
i. Set the clock on the switch to today’s time and date.
Note: Use the question mark (?) to help with the correct sequence of parameters needed to execute this
command.
j. Copy the running configuration to the startup configuration.
Close configuration window
© 2019 - 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 2 of 3 www.netacad.com
43
Lab - Implement EtherChannel
b. Configure and activate the management interface on each switch using the IP address information in the
Addressing Table.
c. Assign all unused ports on the switch to the Parking_Lot VLAN, configure them for static access mode,
and administratively deactivate them.
b. As a part of the trunk configuration, set the native VLAN to 1000 on both switches. You may see error
messages temporarily while the two interfaces are configured for different native VLANs.
c. As another part of trunk configuration, specify that VLANs 10, 20, and 1000 are allowed to cross the
trunk.
d. Issue the show interfaces trunk command to verify the trunking ports, Native VLAN and allowed VLANs
across the trunk.
Question:
Why is the “Vlans in spanning tree forwarding state and not pruned” entry different for F0/1 and F0/2?
Type your answers here.
Close configuration window
b. After the EtherChannel is configured, a virtual Port-Channel interface is automatically created. Now
interface Port-Channel 1 represents the logical interface of the bundled physical ports F0/1 and F0/2.
Additionally, the Port-Channel will inherit the configuration of the first physical port added to the
EtherChannel.
c. Issue the show interfaces trunk command to verify trunking is still in place
Question:
© 2019 - 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 3 of 3 www.netacad.com
44
Lab - Implement DHCPv4
Topology
Addressing Table
Device Interface IP Address Subnet Mask Default Gateway
R1
G0/0/1 N/A N/A N/A
R1
G0/0/1.100 blank blank N/A
R1
G0/0/1.200 blank blank N/A
R1
G0/0/1.1000 N/A N/A N/A
R2
G0/0/1 blank blank N/A
VLAN Table
VLAN Name Interface Assigned
Objectives
Part 1: Build the Network and Configure Basic Device Settings
Part 2: Configure and verify two DHCPv4 Servers on R1
Part 3: Configure and verify a DHCP Relay on R2
© 2017 - 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 1 of 5 www.netacad.com
45
Lab - Implement DHCPv4
Background / Scenario
The Dynamic Host Configuration Protocol (DHCP) is a network protocol that lets network administrators
manage and automate the assignment of IP addresses. Without DHCP for IPv4, the administrator must
manually assign and configure IP addresses, preferred DNS servers, and default gateways. As the network
grows in size, this becomes an administrative problem when devices are moved from one internal network to
another.
In this scenario, the company has grown in size, and the network administrators can no longer assign IP
addresses to devices manually. Your job is to configure the R1 router to assign IPv4 addresses on two
different subnets.
Note: The routers used with CCNA hands-on labs are Cisco 4221 with Cisco IOS XE Release 16.9.4
(universalk9 image). The switches used in the labs are Cisco Catalyst 2960s with Cisco IOS Release 15.2(2)
(lanbasek9 image). Other routers, switches, and Cisco IOS versions can be used. Depending on the model
and Cisco IOS version, the commands available and the output produced might vary from what is shown in
the labs. Refer to the Router Interface Summary Table at the end of the lab for the correct interface identifiers.
Note: Ensure that the routers and switches have been erased and have no startup configurations. If you are
unsure contact your instructor.
Required Resources
• 2 Routers (Cisco 4221 with Cisco IOS XE Release 16.9.4 universal image or comparable)
• 2 Switches (Cisco 2960 with Cisco IOS Release 15.2(2) lanbasek9 image or comparable)
• 2 PCs (Windows with a terminal emulation program, such as Tera Term)
• Console cables to configure the Cisco IOS devices via the console ports
• Ethernet cables as shown in the topology
Instructions
© 2017 - 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 2 of 5 www.netacad.com
46
Lab - Implement DHCPv4
b. Disable DNS lookup to prevent the router from attempting to translate incorrectly entered commands as
though they were host names.
c. Assign class as the privileged EXEC encrypted password.
d. Assign cisco as the console password and enable login.
e. Assign cisco as the VTY password and enable login.
f. Encrypt the plaintext passwords.
g. Create a banner that warns anyone accessing the device that unauthorized access is prohibited.
h. Save the running configuration to the startup configuration file.
i. Set the clock on the router to today’s time and date.
Note: Use the question mark (?) to help with the correct sequence of parameters needed to execute this
command.
Step 5: Configure G0/0/1 on R2, then G0/0/0 and static routing for both routers
a. Configure G0/0/1 on R2 with the first IP address of Subnet C you calculated earlier.
b. Configure interface G0/0/0 for each router based on the IP Addressing table above.
c. Configure a default route on each router pointed to the IP address of G0/0/0 on the other router.
d. Verify static routing is working by pinging R2’s G0/0/1 address from R1.
e. Save the running configuration to the startup configuration file.
Close configuration window
b. Disable DNS lookup to prevent the router from attempting to translate incorrectly entered commands as
though they were host names.
c. Assign class as the privileged EXEC encrypted password.
d. Assign cisco as the console password and enable login.
e. Assign cisco as the VTY password and enable login.
© 2017 - 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 3 of 5 www.netacad.com
47
Lab - Implement DHCPv4
At this point, what IP address would the PC’s have if they were connected to the network using DHCP?
© 2017 - 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 4 of 5 www.netacad.com
48
Lab - Implement DHCPv4
Step 1: Configure R1 with DHCPv4 pools for the two supported subnets. Only the DHCP Pool for
subnet A is given below
a. Exclude the first five useable addresses from each address pool.
Open configuration window
b. Create the DHCP pool (Use a unique name for each pool).
c. Specify the network that this DHCP server is supporting.
d. Configure the domain name as ccna-lab.com
e. Configure the appropriate default gateway for each DHCP pool.
f. Configure the lease time for 2 days 12 hours and 30 minutes.
g. Next, configure the second DHCPv4 Pool using the pool name R2_Client_LAN and the calculated
network, default-router and use the same domain name and lease time from the previous DHCP pool.
© 2017 - 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 5 of 5 www.netacad.com
49
Lab - Configure DHCPv6
Topology
Addressing Table
Device Interface IPv6 Address
R1 G0/0/0
fe80::1
R1
G0/0/1 2001:db8:acad:1::1/64
R1 G0/0/1
fe80::1
R2 G0/0/0 2001:db8:acad:2::2/64
R2 G0/0/0
fe80::2
R2
G0/0/1 2001:db8:acad:3::1 /64
R2 G0/0/1
fe80::1
PC-A NIC DHCP
PC-B NIC DHCP
Objectives
Part 1: Build the Network and Configure Basic Device Settings
Part 2: Verify SLAAC address assignment from R1
Part 3: Configure and verify a Stateless DHCPv6 Server on R1
Part 4: Configure and verify a Stateful DHCPv6 Server on R1
Part 5: Configure and verify a DHCPv6 Relay on R2
Background / Scenario
The dynamic assignment of IPv6 global unicast addresses (GUA) can be configured the following three ways:
• Stateless Address Auoconfiguration (SLACC)
• Stateless Dynamic Host Configuration Protocol for IPv6 (DHCPv6)
• Stateful DHCPv6
When using SLACC to assign IPv6 addresses to hosts a DHCPv6 server is not used. Because a DHCPv6
server is not used when implementing SLACC, hosts are unable to receive additional critical network
information, including a domain name server (DNS) address as well as a domain name.
© 2017 - 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 1 of 7 www.netacad.com
50
Lab - Configure DHCPv6
When using Stateless DHCPv6 to assign IPv6 addresses to host, a DHCPv6 server is used to assign the
additional critical network information, however the IPv6 address is assigned using SLACC.
When implementing Stateful DHCPv6, a DHCPv6 server assigns all network information, including the IPv6
address.
The determination of how hosts obtain they dynamic IPv6 addressing is dependent on flag setting contain
within the router advertisement (RA) messages.
In this scenario, the company has grown in size, and the network administrators can no longer assign IP
addresses to devices manually. Your job is to configure the R2 router to assign IPv6 addresses on two
different subnets connected to router R1.
Note: The routers used with CCNA hands-on labs are Cisco 4221 with Cisco IOS XE Release 16.9.4
(universalk9 image). The switches used in the labs are Cisco Catalyst 2960s with Cisco IOS Release 15.2(2)
(lanbasek9 image). Other routers, switches, and Cisco IOS versions can be used. Depending on the model
and Cisco IOS version, the commands available and the output produced might vary from what is shown in
the labs. Refer to the Router Interface Summary Table at the end of the lab for the correct interface identifiers.
Note: Ensure that the routers and switches have been erased and have no startup configurations. If you are
unsure contact your instructor.
Required Resources
• 2 Routers (Cisco 4221 with Cisco IOS XE Release 16.9.4 universal image or comparable)
• 2 Switches (Cisco 2960 with Cisco IOS Release 15.2(2) lanbasek9 image or comparable) - Optional
• 2 PCs (Windows with a terminal emulation program, such as Tera Term)
• Console cables to configure the Cisco IOS devices via the console ports
• Ethernet cables as shown in the topology
Instructions
© 2017 - 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 2 of 7 www.netacad.com
51
Lab - Configure DHCPv6
© 2017 - 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 3 of 7 www.netacad.com
52
Lab - Configure DHCPv6
b. Notice that there is no Primary DNS suffix. Also note that the DNS server addresses provided are “site
local anycast” addresses, and not unicast addresses, as would be expected.
© 2017 - 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 4 of 7 www.netacad.com
53
Lab - Configure DHCPv6
d. Restart PC-A.
e. Examine the output of ipconfig /all and notice the changes.
C:\Users\Student> ipconfig /all
Windows IP Configuration
© 2017 - 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 5 of 7 www.netacad.com
54
Lab - Configure DHCPv6
Step 1: Power on PC-B and examine the SLAAC address that it generates.
C:\Users\Student> ipconfig /all
Windows IP Configuration
© 2017 - 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 6 of 7 www.netacad.com
55
Lab - Configure DHCPv6
b. Open a command prompt on PC-B and issue the command ipconfig /all and examine the output to see
the results of the DHCPv6 relay operation.
C:\Users\Student> ipconfig /all
Windows IP Configuration
© 2017 - 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 7 of 7 www.netacad.com
56
Lab - Switch Security Configuration
Topology
Addressing Table
R1
Loopback 0 10.10.1.1 255.255.255.0
S1 VLAN 10 192.168.10.201 255.255.255.0
S2 VLAN 10 192.168.10.202 255.255.255.0
PC – A NIC DHCP 255.255.255.0
PC – B NIC DHCP 255.255.255.0
Objectives
Part 1: Configure the Network Devices.
• Cable the network.
• Configure R1.
• Configure and verify basic switch settings.
Part 2: Configure VLANs on Switches.
• Configure VLAN 10.
© 2019 - 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 1 of 9 www.netacad.com
57
Lab - Switch Security Configuration
Background / Scenario
This is a comprehensive lab to review previously covered Layer 2 security features.
Note: The routers used with CCNA hands-on labs are Cisco 4221 with Cisco IOS XE Release 16.9.3
(universalk9 image). The switches used in the labs are Cisco Catalyst 2960s with Cisco IOS Release 15.0(2)
(lanbasek9 image). Other routers, switches, and Cisco IOS versions can be used. Depending on the model
and Cisco IOS version, the commands available and the output produced might vary from what is shown in
the labs. Refer to the Router Interface Summary Table at the end of the lab for the correct interface identifiers.
Note: Make sure that the switches have been erased and have no startup configurations. If you are unsure,
contact your instructor.
Required Resources
• 1 Router (Cisco 4221 with Cisco IOS XE Release 16.9.3 universal image or comparable)
• 2 Switches (Cisco 2960 with Cisco IOS Release 15.0(2) lanbasek9 image or comparable)
• 2 PCs (Windows with a terminal emulation program, such as Tera Term)
• Console cables to configure the Cisco IOS devices via the console ports
• Ethernet cables as shown in the topology
Instructions
enable
configure terminal
© 2019 - 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 2 of 9 www.netacad.com
58
Lab - Switch Security Configuration
hostname R1
no ip domain lookup
ip dhcp excluded-address 192.168.10.1 192.168.10.9
ip dhcp excluded-address 192.168.10.201 192.168.10.202
!
ip dhcp pool Students
network 192.168.10.0 255.255.255.0
default-router 192.168.10.1
domain-name CCNA2.Lab-11.6.1
!
interface Loopback0
ip address 10.10.1.1 255.255.255.0
!
interface GigabitEthernet0/0/1
description Link to S1 Port 5
ip dhcp relay information trusted
ip address 192.168.10.1 255.255.255.0
no shutdown
!
line con 0
logging synchronous
exec-timeout 0 0
b. Verify the running-configuration on R1 using the following command:
R1# show ip interface brief
c. Verify IP addressing and interfaces are in an up / up state (troubleshoot as necessary).
Close configuration window
© 2019 - 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 3 of 9 www.netacad.com
59
Lab - Switch Security Configuration
Step 3: Configure VLAN 333 with the name Native on S1 and S2.
Step 4: Configure VLAN 999 with the name ParkingLot on S1 and S2.
© 2019 - 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 4 of 9 www.netacad.com
60
Lab - Switch Security Configuration
b. On S2, configure F0/18 as an access port that is associated with VLAN 10.
© 2019 - 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 5 of 9 www.netacad.com
61
Lab - Switch Security Configuration
Port Security
Maximum number of MAC addresses
Violation Mode
Aging Time
Aging Type
Secure Static Address Aging
Sticky MAC Address
d. Enable port security for F0/18 on S2. Configure the port to add MAC addresses learned on the port
automatically to the running configuration.
© 2019 - 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 6 of 9 www.netacad.com
62
Lab - Switch Security Configuration
© 2019 - 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 7 of 9 www.netacad.com
63
Lab - Switch Security Configuration
e. From the command prompt on PC-B, release and then renew the IP address.
C:\Users\Student> ipconfig /release
C:\Users\Student> ipconfig /renew
f. Verify the DHCP snooping binding using the show ip dhcp snooping binding command.
S2# show ip dhcp snooping binding
MacAddress IpAddress Lease(sec) Type VLAN Interface
------------------ --------------- ---------- ------------- ---- ----------------
----
00:50:56:90:D0:8E 192.168.10.11 86213 dhcp-snooping 10 FastEthernet0/18
Total number of bindings: 1
Reflection Questions
1. In reference to Port Security on S2, why is there no timer value for the remaining age in minutes when sticky
learning was configured?
Type your answers here.
© 2019 - 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 8 of 9 www.netacad.com
64
Lab - Switch Security Configuration
2. In reference to Port Security on S2, if you load the running-config script on S2, why will PC-B on port 18 never
get an IP address via DHCP?
Type your answers here.
3. In reference to Port Security, what is the difference between the absolute aging type and inactivity aging
type?
Type your answers here.
End of Document
© 2019 - 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 9 of 9 www.netacad.com
65
Lab - Configure a Wireless Network
Introduction
In this lab, you will configure basic settings on a wireless router and connect a PC to router wirelessly.
Recommended Equipment
• A Windows computer with wired and wireless network cards installed
• Wireless router
• Ethernet patch cable
Note: All wireless settings in this lab are for a 2.4 GHz wireless connection. Follow the same steps for setting
up a 5 GHz wireless connection or when setting up both 2.4 GHz and 5 GHz connections.
Instructions
Part 1: Log into the Wireless Router
© 2015 - 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 1 of 5 www.netacad.com
66
Lab - Configure a Wireless Network
b. Plug in the power for the wireless router. Boot the computer and log in as an administrator.
c. Connect the computer to one of the Ethernet ports on the wireless router with an Ethernet patch cable.
Note: If this is the first time connecting to the lab router, follow these instructions to set a network location.
This will be explained later in the course.
d. If prompted by the Set Network Location window, select Public network. Click Close to accept the
network location Public.
e. Open a command prompt and type ipconfig to determine the IP address of the default gateway, which
should be the IP address of your wireless router. If it is necessary to renew the IP address, enter ipconfig
/all at the prompt.
Question:
© 2015 - 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 2 of 5 www.netacad.com
67
Lab - Configure a Wireless Network
© 2015 - 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 3 of 5 www.netacad.com
68
Lab - Configure a Wireless Network
router the internet, you do not need to connect the Internet port of the wireless router to a cable or DSL
connection.
Note: If you are converting a wireless router to an AP, please follow the instructions provided by your
instructor or manufacturer's documentations.
© 2015 - 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 4 of 5 www.netacad.com
69
Lab - Configure a Wireless Network
a. Navigate to the wireless router using a web browser. If necessary, connect to the wireless router using a
wired Ethernet connection.
b. Navigate to the wireless settings, turn off the wireless router radio if available. The option to enable
wireless radio may be in the advanced wireless settings.
c. Save the settings.
d. Attempt to connect a wireless client to the AP.
© 2015 - 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 5 of 5 www.netacad.com
70
Lab - Configure IPv4 and IPv6 Static and Default Routes
Topology
Addressing Table
Device Interface IP Address / Prefix
R1 G0/0/0
2001:db8:acad:2::1 /64
R1 G0/0/0
fe80::1
R1 G0/0/1 192.168.1.1 /24
R1 G0/0/1
2001:db8:acad:1::1 /64
R1 G0/0/1
fe80::1
R1
Loopback1 10.1.0.1 /24
R1 Loopback1
2001:db8:acad:10::1 /64
R1 Loopback1
fe80::1
R1
Loopback2 209.165.200.225 /27
R1 Loopback2
2001:db8:acad:209::1 /64
R1 Loopback2
fe80::1
R2 G0/0/0 172.16.1.2 /24
R2 G0/0/0
2001:db8:acad:2::2 /64
R2 G0/0/0
fe80::2
© 2013 - 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 1 of 6 www.netacad.com
71
Lab - Configure IPv4 and IPv6 Static and Default Routes
R2
G0/0/1 192.168.1.2 /24
R2 G0/0/1
2001:db8:acad:1::2 /64
R2 G0/0/1
fe80::2
R2
Loopback1 10.2.0.1 /24
R2 Loopback1
2001:db8:acad:11::2 /64
R2 Loopback1
fe80::2
R2
Loopback2 209.165.200.193 /27
R2 Loopback2
2001:db8:acad:210::1 /64
R2 Loopback2
fe80::2
Objectives
Part 1: Build the Network and Configure Basic Device Settings
Part 2: Configure and verify IP and IPv6 addressing on R1 and R2
Part 3: Configure and verify static and default routing for IPv4 on R1 and R2
Part 4: Configure and verify static and default routing for IPv6 on R1 and R2
Background / Scenario
Static and Default routing are the simplest forms of network routing and configured manually. They are fixed,
meaning that they do not change dynamically to meet changing network conditions. They are either valid and
made available to the routing table or invalid and not made available to the routing table. Static routes have
an administrative distance of one by default. However, static and default routes can be configured with an
administrator-defined administrative distance. This capability allows the administrator to put the static or
default route in reserve, and only make it available to the routing table when routes with lower administrative
distances (usually generated by dynamic routing protocols) are no longer valid.
Note: In this lab you will configure static, default, and floating default routes for both IPv4 and IPv6 which
may not reflect networking best practices.
Note: The routers used with CCNA hands-on labs are Cisco 4221 with Cisco IOS XE Release 16.9.4
(universalk9 image). The switches used in the labs are Cisco Catalyst 2960s with Cisco IOS Release 15.2(2)
(lanbasek9 image). Other routers, switches, and Cisco IOS versions can be used. Depending on the model
and Cisco IOS version, the commands available and the output produced might vary from what is shown in
the labs. Refer to the Router Interface Summary Table at the end of the lab for the correct interface identifiers.
Note: Ensure that the routers and switches have been erased and have no startup configurations. If you are
unsure contact your instructor.
Required Resources
• 2 Routers (Cisco 4221 with Cisco IOS XE Release 16.9.4 universal image or comparable)
• 2 Switches (Cisco 2960 with Cisco IOS Release 15.2(2) lanbasek9 image or comparable)
• 1 PC (Windows with a terminal emulation program, such as Tera Term)
• Console cables to configure the Cisco IOS devices via the console ports
• Ethernet cables as shown in the topology
© 2013 - 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 2 of 6 www.netacad.com
72
Lab - Configure IPv4 and IPv6 Static and Default Routes
Instructions
b. Disable DNS lookup to prevent the router from attempting to translate incorrectly entered commands as
though they were host names.
c. Assign class as the privileged EXEC encrypted password.
d. Assign cisco as the console password and enable login.
e. Assign cisco as the VTY password and enable login.
f. Encrypt the plaintext passwords.
g. Create a banner that warns anyone accessing the device that unauthorized access is prohibited.
h. Save the running configuration to the startup configuration file.
Close configuration window
Issuing the command show cdp neighbors at this point on R1 or R2 results in an empty list. Explain.
Type your answers here.
Close configuration window
© 2013 - 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 3 of 6 www.netacad.com
73
Lab - Configure IPv4 and IPv6 Static and Default Routes
Part 3: Configure and verify static and default routing for IPv4 on R1 and R2
In Part 3, you will configure static and default routing on R1 and R2 to enable full connectivity between the
routers using IPv4. Once again, the static routing being used here is not meant to represent best practice, but
to assess your ability to complete the required configurations.
Step 1: On R1, configure a static route to R2’s Loopback1 network, using R2’s G0/0/1 address
as the next hop.
open configuration window
a. Use the ping command to ensure that R2’s G0/0/1 interface is reachable.
b. Configure a static route for R2’s Loopback1 network via R2’s G0/0/1 address.
Step 2: On R1, configure a static default route via R2’s G0/0/0 address.
a. Use the ping command to ensure that R2’s G0/0/0 interface is reachable.
b. Configure a static default route via R2’s G0/0/0 address.
Step 3: On R1, configure a floating static default route via R2’s G0/0/1 address.
Configure a floating static default route with an AD of 80 via R2’s G0/0/1 address.
Step 4: On R2, configure a static default route via R1’s G0/0/0 address
a. Use the ping command to ensure that R1’s G0/0/0 interface is reachable.
b. Configure a static default route via R1’s G0/0/0 address.
© 2013 - 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 4 of 6 www.netacad.com
74
Lab - Configure IPv4 and IPv6 Static and Default Routes
Part 4: Configure and verify static and default routing for IPv6 on R1 and R2
In Part 4, you will configure static and default routing on R1 and R2 to enable full connectivity between the
routers using IPv6. Once again, the static routing being used here is not meant to represent best practice, but
to assess your ability to complete the required configurations.
Step 1: On R2, configure a static route to R1’s Loopback1 network, using R1’s G0/0/1 address
as the next hop.
Open configuration window
a. Use the ping command to ensure that R1’s G0/0/1 interface is reachable.
b. Configure a static route for R1’s Loopback1 network via R1’s G0/0/1 address.
Step 2: On R2, configure a static default route via R1’s G0/0/0 address.
a. Use the ping command to ensure that R1’s G0/0/0 interface is reachable.
b. Configure a static default route via R1’s G0/0/0 address.
Step 3: On R2, configure a floating static default route via R1’s G0/0/1 address.
Configure a floating static default route with an AD of 80 via R2’s G0/0/1 address.
Step 4: On R1, configure a static default route via R1’s G0/0/0 address.
a. Use the ping command to ensure that R2’s G0/0/0 interface is reachable.
b. Configure a static default route via R2’s G0/0/0 address.
© 2013 - 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 5 of 6 www.netacad.com
75
Lab - Configure IPv4 and IPv6 Static and Default Routes
Router Model Ethernet Interface #1 Ethernet Interface #2 Serial Interface #1 Serial Interface #2
Note: To find out how the router is configured, look at the interfaces to identify the type of router and how many
interfaces the router has. There is no way to effectively list all the combinations of configurations for each router
class. This table includes identifiers for the possible combinations of Ethernet and Serial interfaces in the device.
The table does not include any other type of interface, even though a specific router may contain one. An
example of this might be an ISDN BRI interface. The string in parenthesis is the legal abbreviation that can be
used in Cisco IOS commands to represent the interface.
End of document
© 2013 - 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 6 of 6 www.netacad.com
76
Lab - Troubleshoot IPv4 and IPv6 Static and Default Routers
Topology
Addressing Table
Device Interface IP Address / Prefix
R1 G0/0/0
2001:db8:acad::1 /64
R1
G0/0/1 192.168.0.17 /28
R1 G0/0/1
2001:db8:acad:16::1 /64
R1
Loopback1 172.16.1.1 /24
R1 Loopback1
2001:db8:acad:171::1 /64
R1
Loopback2 209.165.200.1 /25
R1 Loopback2
2001:db8:acad:209::1 /64
R2 G0/0/0 192.168.0.14 /28
R2 G0/0/0
2001:db8:acad::14 /64
R2
G0/0/1 192.168.0.30 /28
R2 G0/0/1
2001:db8:acad:16::2 /64
R2
Loopback1 172.16.2.1 /24
R2 Loopback1
2001:db8:acad:172::1 /64
R2
Loopback2 209.165.200.129 /25
R2 Loopback2
2001:db8:acad:210::1 /64
© 2017 - 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 1 of 3 www.netacad.com
77
Lab - Troubleshoot IPv4 and IPv6 Static and Default Routers
Objectives
Part 1: Evaluate Network Operation
Part 2: Gather information, create an action plan, and implement corrections
Background / Scenario
Your instructor has preconfigured all the network equipment and has included intentional errors that are
keeping the configured routes from working. Your task is to evaluate the network, identify, and correct the
configuration errors to restore full connectivity. You may find errors with the route statements or with other
configurations that impact the accuracy of the route statements.
Note: The static routing approach used in this lab is used to assess your ability to configure different types of
static routes only. This approach may not reflect networking best practices.
Note: The routers used with CCNA hands-on labs are Cisco 4221 with Cisco IOS XE Release 16.9.4
(universalk9 image). The switches used in the labs are Cisco Catalyst 2960s with Cisco IOS Release 15.2(2)
(lanbasek9 image). Other routers, switches, and Cisco IOS versions can be used. Depending on the model
and Cisco IOS version, the commands available and the output produced might vary from what is shown in
the labs. Refer to the Router Interface Summary Table at the end of the lab for the correct interface identifiers.
Note: Ensure that the routers and switches have been erased and have no startup configurations. If you are
unsure contact your instructor.
Required Resources
• 2 Routers (Cisco 4221 with Cisco IOS XE Release 16.9.4 universal image or comparable)
• 2 Switches (Cisco 2960 with Cisco IOS Release 15.2(2) lanbasek9 image or comparable)
• 1 PC (Windows with a terminal emulation program, such as Tera Term)
• Console cables to configure the Cisco IOS devices via the console ports
• Ethernet cables as shown in the topology
Instructions
© 2017 - 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 2 of 3 www.netacad.com
78
Lab - Troubleshoot IPv4 and IPv6 Static and Default Routers
b. Create an action plan that you think will fix the issue. Develop a list of all the commands you intend to
issue to fix the issue, and a list of all the commands you need to revert the configuration, should your
action plan fail to correct the issue.
c. Execute your action plans one at a time for each criterion that fails and record the fix actions.
Type your answers here.
Note: To find out how the router is configured, look at the interfaces to identify the type of router and how many
interfaces the router has. There is no way to effectively list all the combinations of configurations for each router
class. This table includes identifiers for the possible combinations of Ethernet and Serial interfaces in the device.
The table does not include any other type of interface, even though a specific router may contain one. An
example of this might be an ISDN BRI interface. The string in parenthesis is the legal abbreviation that can be
used in Cisco IOS commands to represent the interface.
End of document
© 2017 - 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 3 of 3 www.netacad.com
79