Lab – Build a Switch and also Rexternal Network-related (Answers Version)

Answers Note: Red font shade or gray highlights show text that appears in the Answers copy only.

You are watching: Lab - building a switch and router network



Addressing Table



IP Address / Prefix

Default Gateway


G0/0/0 /24











G0/0/1 /24











VLAN 1 /24


NIC /24






NIC /24






Part 1: Set Up the Topology and Initialize Devices

Part 2: Connumber Devices and also Verify Connectivity

Background / Scenario

This is a substantial lab to review formerly covered IOS commands. In this lab, you will certainly cable the tools as shown in the topology diagram. You will certainly then connumber the tools to match the addressing table. After the configurations have actually been conserved, you will verify your configurations by trial and error for netoccupational connectivity.

After the tools have actually been configured and network-related connectivity has been verified, you will certainly use IOS regulates to retrieve information from the gadgets to answer inquiries about your netjob-related equipment.

This lab gives minimal assistance through the actual regulates necessary to configure the rexternal. Test your knowledge by trying to connumber the devices without referring to the content or previous tasks.

Note: The routers offered with CCNA hands-on labs are Cisco 4221 via Cisco IOS XE Release 16.9.4 (universalk9 image). The switches offered 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 supplied. Depfinishing on the version and Cisco IOS variation, the commands easily accessible and the output developed could differ from what is displayed in the labs. Refer to the Rexternal Interconfront Overview Table at the finish of the lab for the correct interchallenge identifiers.

Note: Encertain that the routers and also switches have been erased and have no startup configurations. Consult with your Answers for the procedure to initialize and repack a router and also switch.

The default prejudice layout offered by the Switch Database Manager (SDM) does not administer IPv6 address capabilities. Verify that SDM is utilizing either the dual-ipv4-and-ipv6 template or the lanbase-routing theme. The brand-new theme will certainly be provided after reboot also if the configuration is not conserved.

S1# show sdm prefer

Use the following regulates to assign the dual-ipv4-and-ipv6 theme as the default SDM template.

S1# connumber terminal

S1(config)# sdm like dual-ipv4-and-ipv6 default

S1(config)# end

S1# reload

Required Resources1 Router (Cisco 4221 through Cisco IOS XE Release 16.9.4 global picture or comparable)1 Switch (Cisco 2960 via Cisco IOS Release 15.2(2) lanbasek9 picture or comparable)2 Computers (Windows through a terminal emulation program, such as Tera Term)Consingle cables to configure the Cisco IOS tools using the console portsEthernet cables as shown in the topology

Note: The Gigalittle bit Ethernet interfaces on Cisco 4221 routers are autosensing and an Ethernet straight-with cable might be supplied between the rexternal and PC-B. If using an additional model Cisco router, it might be important to usage an Ethernet crossover cable.

Answers Note: If Tera Term is not installed on the COMPUTER, it can be downloaded from the adhering to link:

Answers Note: A USB driver should be mounted before connecting a Microsoft Windows-based COMPUTER to a Cisco IOS tool through a USB cable. The driver have the right to be uncovered on with the related Cisco IOS tool. The USB driver have the right to be downloaded from the adhering to link:

Answers Note: You have to have actually a valid Cisco Connection Online (CCO) account to download the USB driver file.


Part 1: Set Up Topology and also Initialize Devices

Step 1: Cable the network as presented in the topology.

Attach the tools shown in the topology diagram, and cable, as essential.Power on all the gadgets in the topology.

Tip 2: Initialize and reload the rexternal and switch.

If configuration documents were formerly saved on the router and also switch, initialize and also reload these devices ago to their default configurations.

Part 2: Configure Devices and Verify Connectivity

In Part 2, you will erected the network-related topology and connumber fundamental settings, such as the interface IP addresses, tool access, and also passwords. Refer to the Error! Reference resource not uncovered. and also Error! Reference resource not found. at the start of this lab for gadget names and also attend to information.

Tip 1: Asauthorize static IP indevelopment to the PC interdeals with.

Connumber the IP deal with, subnet mask, and default gatemethod settings on PC-A.Configure the IP address, subnet mask, and default gateway settings on PC-B.Ping PC-B from a command prompt window on PC-A.

Note: If pings are not successful, the Windows Firewall may need to be turned off.


Why were the pings not successful?

The rexternal interfaces (default gateways) have not been configured yet so Layer 3 web traffic is not being routed in between subnets.

Step 2: Connumber the router.

Consingle right into the router and allow privileged EXEC mode.

Open configuration window

Router> enable

Get in configuration mode.

Router# config terminal

Assign a machine name to the rexternal.

Router(config)# hostname R1

Disable DNS lookas much as proccasion the router from attempting to interpret wrongly gotten in regulates as though they were organize names.

R1(config)# no ip domain lookup

Asauthorize class as the privileged EXEC encrypted password.

R1(config)# enable secret class

Assign cisco as the console password and also permit login.

R1(config)# line consingle 0

R1(config-line)# password cisco

R1(config-line)# login

Asauthorize cisco as the VTY password and also allow login.

R1(config)# line vty 0 4

R1(config-line)# password cisco

R1(config-line)# login

Encrypt the plainmessage passwords.

R1(config)# company password-encryption

Create a banner that warns anyone accessing the tool that unauthorized access is prohibited.

R1(config)# banner motd $ Authorized Users Only! $

Connumber and also activate both interencounters on the rexternal.

R1(config)# interchallenge g0/0/0

R1(config-if)# ip address

R1(config-if)# ipv6 attend to 2001:db8:acad::1/64

R1(config-if)# ipv6 address FE80::1 link-local

R1(config-if)# no shutdown

R1(config-if)# exit

R1(config)# interconfront g0/0/1

R1(config-if)# ip deal with

R1(config-if)# ipv6 attend to 2001:db8:acad:1::1/64

R1(config-if)# ipv6 address fe80::1 link-local

R1(config-if)# no shutdown

R1(config-if)# exit

Configure an interchallenge description for each interconfront indicating which tool is connected to it.

R1(config)# interchallenge g0/0/1

R1(config-if)# summary Connected to F0/5 on S1

R1(config-if)# exit

R1(config)# interconfront g0/0/0

R1(config-if)# description Connected to Host PC-B

R1(config-if)# exit

To enable IPv6 routing, enter the command also ipv6 unicast-routing.

R1(config)# ipv6 unicast-routing

Save the running configuration to the startup configuration file.

R1(config)# exit

R1# copy running-config startup-config

Set the clock on the rexternal.

R1# clock set 15:30:00 27 Aug 2019

Note: Use the question note (?) to assist with the correct sequence of parameters essential to execute this command also.

Close configuration window

Ping PC-B from a command also prompt home window on PC-A.

Note: If pings are not successful, the Windows Firewall might must be turned off.


Were the pings successful? Exsimple.

Yes. The router is routing the ping website traffic across the two subnets. The default settings for the 2960 switch will instantly rotate up the interdeals with that are associated to tools.

Step 3: Configure the switch.

In this step, you will connumber the hostname, the VLAN 1 interchallenge and also its default gatemeans.

Open configuration window

Console right into the switch and also permit privileged EXEC mode.

Switch> enable

Go into configuration mode.

Switch# config terminal

Asauthorize a device name to the switch.

Switch(config)# hostname S1

Disable DNS lookas much as prevent the router from attempting to translate mistakenly gotten in regulates as though they were host names.

S1(config)# no ip domain-lookup

Configure and also activate the VLAN interchallenge on the switch S1.

S1(config)# interconfront vlan 1

S1(config-if)# ip resolve

S1(config-if)# no shutdown

S1(config-if)# exit

Connumber the default gatemeans for the switch S1.

S1(config)# ip default-gateway

S1(config-if)# exit

Save the running configuration to the startup configuration file.

Step 4: Verify connectivity end-to-finish connectivity.

From PC-A, ping PC-B.From S1, ping PC-B.

All the pings need to be effective.

Close configuration window

Part 3: Display Device Information

In Part 3, you will use display regulates to retrieve interchallenge and also routing indevelopment from the rexternal and also switch.

Tip 1: Display the routing table on the router.

Use the show ip course command also on the router R1 to answer the adhering to inquiries.

Open configuration window

R1# present ip route

Codes: L – neighborhood, C – connected, S – static, R – RIP, M – mobile, B – BGP

D – EIGRP, EX – EIGRP outside, O – OSPF, IA – OSPF inter area

N1 – OSPF NSSA external type 1, N2 – OSPF NSSA external kind 2

E1 – OSPF outside kind 1, E2 – OSPF external type 2

i – IS-IS, su – IS-IS summary, L1 – IS-IS level-1, L2 – IS-IS level-2

ia – IS-IS inter location, * – candiday default, U – per-user static route

o – ODR, P – periodic downloaded static route, H – NHRP, l – LISP

+ – replicated course, % – next hop override


Gateway of last resort is not set is variably subnetted, 2 subnets, 2 masks

C is straight connected, GigabitEthernet0/0/0

L is straight linked, GigabitEthernet0/0/0 is variably subnetted, 2 subnets, 2 masks

C is directly associated, GigabitEthernet0/0/1

L is directly associated, GigabitEthernet0/0/1


What code is used in the routing table to show a straight associated network?

The C designates a directly associated subnet. An L designates a neighborhood interface. Both answers are correct.

How many kind of course entries are coded through a C code in the routing table?


What interface forms are associated to the C coded routes?

Answers may differ depfinishing of rexternal type, yet on the 4221 the correct answer is G0/0/0 and G0/0/1.

Use the display ipv6 path command on router R1 to display screen the IPv6 courses.

R1# present ipv6 route

IPv6 Routing Table – default – 5 entries

Codes: C – Connected, L – Local, S – Static, U – Per-user Static route

B – BGP, R – RIP, H – NHRP, I1 – ISIS L1

I2 – ISIS L2, IA – ISIS interlocation, IS – ISIS summary, D – EIGRP

EX – EIGRP external, ND – ND Default, NDp – ND Presolve, DCE – Destination

NDr – Redirect, RL – RPL, O – OSPF Intra, OI – OSPF Inter

OE1 – OSPF ext 1, OE2 – OSPF ext 2, ON1 – OSPF NSSA ext 1

ON2 – OSPF NSSA ext 2, la – LISP alt, lr – LISP site-registrations

ld – LISP dyn-eid, lA – LISP amethod, le – LISP extranet-policy

a – Application

C 2001:DB8:ACAD::/64 <0/0>

through GigabitEthernet0/0/0, directly connected

L 2001:DB8:ACAD::1/128 <0/0>

through GigabitEthernet0/0/0, receive

C 2001:DB8:ACAD:1::/64 <0/0>

by means of GigabitEthernet0/0/1, straight connected

L 2001:DB8:ACAD:1::1/128 <0/0>

via GigabitEthernet0/0/1, receive

L FF00::/8 <0/0>

by means of Null0, receive

Step 2: Display interconfront information on the rexternal R1.

Use the show ip interchallenge g0/0/1 to answer the complying with concerns.

R1# show ip interdeals with g0/0/1

GigabitEthernet0/0/1 is up, line protocol is up

Hardware is ISR4321-2x1GE, resolve is a0e0.af0d.e141 (bia a0e0.af0d.e141)

Description: Connectd to F0/5 on S1

Internet address is

MTU 1500 bytes, BW 100000 Kbit/sec, DLY 100 usec,

relicapacity 255/255, txpack 1/255, rxpack 1/255

Encapsulation ARPA, loopback not set

Keepalive not supported

Full Duplex, 100Mbps, connect kind is auto, media type is RJ45

output flow-regulate is off, input flow-regulate is off

ARP type: ARPA, ARP Timeout 04:00:00

Last input 00:00:00, output 00:00:19, output hang never

Last clearing of “present interface” counters never

Input queue: 0/375/0/0 (size/max/drops/flushes); Total output drops: 0

Queueing strategy: fifo

Output queue: 0/40 (size/max)

5 minute input rate 0 bits/sec, 0 packets/sec

5 minute output rate 0 bits/sec, 0 packets/sec

4579 packets input, 637737 bytes, 0 no buffer

Received 1092 broadcasts (0 IP multicasts)

0 runts, 0 giants, 0 throttles

0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored

0 watchdog, 2863 multicast, 0 pausage input

700 packets output, 115187 bytes, 0 underruns

0 output errors, 0 collisions, 1 interface resets

0 unrecognized protocol drops

0 babbles, 0 late collision, 0 deferred

0 lost carrier, 0 no carrier, 0 pausage output

0 output buffer failures, 0 output buffers swapped out


What is the operational status of the G0/0/1 interface?

GigabitEthernet0/0/1 is up, line protocol is up

What is the Media Access Control (MAC) resolve of the G0/1 interface?

Answers will differ however will certainly appear in the form of: xxxx.xxxx.xxxx, wright here each x will be reput via a hexadecimal number.

How is the Web resolve shown in this command?

Internet deal with is

For the IPv6 indevelopment, enter the display ipv6 interface interconfront command also.

R1# display ipv6 interchallenge g0/0/1

GigabitEthernet0/0/1 is up, line protocol is up

IPv6 is enabled, link-regional address is FE80::1

No Virtual link-neighborhood address(es):

Description: Connectd to F0/5 on S1

Global uniactors address(es):

2001:DB8:ACAD:1::1, subnet is 2001:DB8:ACAD:1::/64

Joined team address(es):




MTU is 1500 bytes

ICMP error messperiods restricted to one eincredibly 100 milliseconds

ICMP redirects are enabled

ICMP unreachables are sent

ND DADVERTISEMENT is allowed, number of DADVERTISEMENT attempts: 1

ND reachable time is 30000 millisecs (utilizing 30000)

ND advertised reachable time is 0 (unspecified)

ND advertised retransmit interval is 0 (unspecified)

ND rexternal advertisements are sent out every 200 seconds

ND router advertisements live for 1800 seconds

ND advertised default router choice is Medium

Hosts usage statemuch less autoconfig for addresses.

Step 3: Display an introduction list of the interdeals with on the rexternal and switch.

There are several regulates that have the right to be provided to verify an interchallenge configuration. One of the the majority of advantageous of these is the present ip interchallenge brief command also. The command also output screens an introduction list of the interdeals with on the tool and offers prompt feedback to the status of each interconfront.

Go into the present ip interface brief command also on the rexternal R1.

R1# present ip interchallenge brief

Interconfront IP-Address OK? Method Status Protocol

GigabitEthernet0/0/0 YES hands-on up up

GigabitEthernet0/0/1 YES manual up up

Serial0/1/0 unassigned YES unset up up

Serial0/1/1 unassigned YES unset up up

To see the IPv6 interface indevelopment, enter the display ipv6 interchallenge brief command also on R1.

R1# show ipv6 interconfront brief













Close configuration window

Get in the display ip interface brief command on the switch S1.

See more: Harry Potter Wizards Unite Not Available In Your Country, Harry Potter: Wizards Unite Faq

Open configuration window

S1# present ip interconfront brief

Interconfront IP-Address OK? Method Status Protocol

Vlan1 YES NVRAM up up

FastEthernet0/1 unassigned YES uncollection down dvery own

FastEthernet0/2 unassigned YES uncollection down dvery own

FastEthernet0/3 unassigned YES uncollection dvery own dvery own

FastEthernet0/4 unassigned YES unset down dvery own

FastEthernet0/5 unassigned YES unput up up

FastEthernet0/6 unassigned YES unerected up

FastEthernet0/7 unassigned YES unset down down

FastEthernet0/8 unassigned YES uncollection dvery own down

FastEthernet0/9 unassigned YES unset dvery own down

FastEthernet0/10 unassigned YES unset down dvery own

FastEthernet0/11 unassigned YES unset dvery own dvery own

FastEthernet0/12 unassigned YES uncollection dvery own down

FastEthernet0/13 unassigned YES unset down down

FastEthernet0/14 unassigned YES unset down down

FastEthernet0/15 unassigned YES unset dvery own down

FastEthernet0/16 unassigned YES uncollection down down

FastEthernet0/17 unassigned YES unset down down

FastEthernet0/18 unassigned YES uncollection dvery own down

FastEthernet0/19 unassigned YES unset dvery own dvery own

FastEthernet0/20 unassigned YES unset dvery own dvery own

FastEthernet0/21 unassigned YES uncollection down dvery own

FastEthernet0/22 unassigned YES unset dvery own dvery own

FastEthernet0/23 unassigned YES unset dvery own dvery own

FastEthernet0/24 unassigned YES unset down down

GigabitEthernet0/1 unassigned YES uncollection down down

GigabitEthernet0/2 unassigned YES uncollection  down dvery own

Close configuration window

Reflection QuestionsIf the G0/0/1 interface proved that it was administratively down, what interface configuration command would you use to turn the interconfront up?

R1(config-if)# no shutdown

What would take place if you had actually wrongly configured interface G0/0/1 on the rexternal through an IP attend to of

PC-A would not have the ability to ping PC-B. This is because PC-B is on a different netjob-related than PC-A which needs the default-gatemeans router to path these packets. PC-A is configured to use the IP attend to of for the default-gatemeans router, but this attend to is not assigned to any type of tool on the LAN. Any packets that need to be sent out to the default-gatemeans for routing will certainly never reach their location.