Jeremy's IT Lab
Day 09 LabSwitch/Route

Configuring Interfaces

12m4 chapters61 cues5 cards1 lab
Day 09 LabYT: rzDb5DoBKRk
00:00 / 11:54

Synchronized Transcript

61 cues indexed • Click dialogue or words to jump
Jeremy

Welcome to Jeremy's IT Lab. This is a free, complete course for the CCNA 200-301. 200-301. If you like these videos, please subscribe to follow along with the series.

Jeremy

series. Also, please like and leave a comment, and share the video to help spread this free series of videos. Thanks for your help. help. In this lab, we'll configure interfaces on a router and two switches.

Jeremy

This is a single LAN, 172.16.0.0/16, connected to R1's G0/0 interface. In the real world, R1 would then connect to other LANs, or perhaps the internet, but we'll just configure this small LAN for now.

Jeremy

Let's get started. So, there are six main steps in this lab. lab. One, configure host names. Two, configure IP addresses.

Jeremy

Three, configure speed and duplex. Four, configure interface descriptions. Five, disable unused interfaces.

Jeremy

And six, save the configurations. Instead of going through each step one by one, I'll go through the steps one device at a time, but you can do it in any order you like.

Jeremy

So, let's go on R1 first. The first step is to configure the host name. name. As you can see, it currently has the default host name of router, as indicated by the prompt here.

Jeremy

Let's change it to R1. Use enable to enter privileged exec mode, mode, then configure terminal to enter global config mode.

Jeremy

config mode. From here, simply type host name R1, and you can see the prompt has changed to indicate the new host name. Now, let's configure the IP address on its G0/0 interface.

Jeremy

Type interface G0/0 to enter interface config mode for the interface. interface. Actually, before doing the configuration, configuration, let's confirm the current status of the interface.

Jeremy

interface. Do show IP interface brief. Remember, do lets me use the show command even though I'm not in privileged exec mode.

Jeremy

Here's the Gigabit Ethernet 0/0 interface. interface. The IP address is unassigned, so the method is unset. And the status is administratively down because that's the default setting for router interfaces.

Jeremy

router interfaces. Uh let's configure it and then check again after. So, let's configure the IP address. IP address 172.16.255.254.

Jeremy

And because the prefix length is {slash} 16, the subnet mask will be 255.255.0.0. Okay, now because this interface is connected to another networking device, switch one, I'll manually configure the speed and duplex.

Jeremy

Speed 1000, meaning 1000 megabits per second because this is a Gigabit Ethernet interface. Ethernet interface. Then, duplex full.

Jeremy

Devices attached to switches can use full duplex. There's no reason to use half duplex like a device attached to a hub. hub. Next, let's configure a description.

Jeremy

I'll indicate that this device is connected to switch one. So, description to switch one. Now, the last step is to disable interfaces which are not connected to other devices.

Jeremy

Because router interfaces are shut down by default, we don't have to do that. However, we do have to do the opposite for this interface which is connected to another device.

Jeremy

So, no shutdown. no shutdown. There we go. Now the interface is enabled and let's check out the status. Do show IP interface brief. Okay, you can see the IP address we configured.

Jeremy

The method is manual. The status is up, but the protocol is down. Although on a real Cisco device, I think this should be up up.

Jeremy

On Packet Tracer, it's down because I manually configured the speed and duplex on this interface without doing so on switch one's interface, but we'll fix that soon.

Jeremy

that soon. That's a downside of using a simulator like Packet Tracer. Sometimes things don't behave like they should on a real device. Before moving on to switch one, I'll configure descriptions on R1's other interfaces to indicate that they are not in use.

Jeremy

in use. I'll use the interface range command. Interface range G0/1 to 2. Description not in use.

Jeremy

Okay, let's check our config. Do show run. Here's the running config of the device, and here are the configurations of the interface, including speed, duplex, IP addresses, and descriptions.

Jeremy

Okay, since I'm done configuring, I'll use end to return to privileged exec mode. mode. Now, let's save the running configuration. configuration. There are three Cisco devices in this lab.

Jeremy

I'll use a different method to save the configuration on each device to show you each one. Here on R1, I'll use copy running config startup-config startup-config and hit enter to confirm.

Jeremy

Now, let's check if it was saved to the startup config. Show startup-config. Show startup-config. Here are the interfaces, and you can see the configuration changes we made.

Jeremy

Okay, that's all for R1. Before moving on to switch one, I'll make the only configuration change we need to make on the PCs, configuring their IP addresses.

Jeremy

Let's go on PC one. Click on config. And notice I pre-configured the gateway, which is R1's address, because it's the router for the network.

Jeremy

Now, click on FastEthernet zero, which is PC one's network interface. PC one's IP address is 172.16.0.1.

Jeremy

I hit tab, and it automatically fills in the appropriate subnet mask, 255.255.0.0. Okay, now I can exit out.

Jeremy

Next is PC two. Click config, FastEthernet zero, IP address 172.16.0.2, hit tab, and it fills in the subnet mask.

Jeremy

mask. Next is PC three. Config, Config, FastEthernet zero, IP address of 172.16.0.3, hit tab to fill in the subnet mask, and exit.

Jeremy

exit. Finally, PC four. Config, FastEthernet zero, IP address of 172.16.0.4, 172.16.0.4, hit tab to fill in the subnet mask, and exit.

Jeremy

exit. Okay, now let's configure switch one. Enable, conf t, first the host name.

Jeremy

Host name switch one. Now, let's check out the interfaces. Do show interfaces status. This is a command that works on switches, but not routers, by the way.

Jeremy

As you can see, all default settings. No descriptions, the statuses are connected or not connect, not disabled, because these are switch interfaces.

Jeremy

They're not shut down by default. The speed and duplex are auto and auto, as well. as well. Okay, let's configure the G01 interface.

Jeremy

Interface G01 speed 1000 duplex full. It's connected to R1, so description to R1.

Jeremy

That's it. That's it. Now, G02. Interface G02 speed 1000 duplex full.

Jeremy

duplex full. It's connected to switch two, so description to switch two. Now, as for Fast Ethernet 01 and 02 they are connected to end hosts, so according to the lab instructions, I don't need to configure the speed and duplex.

Jeremy

So, I'll just configure descriptions. Interface range F01 to 2 description to end hosts.

Jeremy

Now, as for the rest of the interfaces I'll configure descriptions and shut them down. There are 22 unused Fast Ethernet interfaces.

Jeremy

So interface range F03 to 24 description not in use. Shut down. Okay, let's check the configurations.

Jeremy

Do show interface status. Okay, you can see the interfaces we disabled. disabled. Again, because I configured the duplex manually on G02, it's down at the moment, but will come up when we configure switch two.

Jeremy

Notice the speed and duplex we manually configured. configured. This is also a problem with Packet Tracer. Tracer. It says A-1000 and A-full meaning it auto negotiated the speed of 1000 and duplex of full, which is incorrect because we manually configured

Jeremy

it. it. On a real Cisco device, this will say simply 1000 and full without the A. Anyway, I'll type end to return to privileged exec mode.

Jeremy

Now, let's save the configuration. This time, I'll use write memory. Okay, let's check the startup config. Show startup config.

Jeremy

Okay, you can see the changes we made to the interfaces here. Let's go on to the last device, switch two.

Jeremy

two. Enable. Enable. Conf T. Conf T. Hostname switch two. Let's check the interfaces. Do show interfaces status.

Jeremy

As you can see, all the defaults again. Now, the configurations we will make are the same as for switch one, except switch two has only one active Gigabit Ethernet interface, G01.

Jeremy

So, I'll run through the configurations. Interface G01. Speed 1000. Speed 1000. Duplex full.

Jeremy

Description to switch one. Interface range F01 to two. Description to end hosts. Now, let's shut down the other interfaces all at once.

Jeremy

Interface range G02. F03 to 24. Description not in use. Shutdown.

Jeremy

Shutdown. Now, let's check. Do show interfaces status. status. Once again, notice the speed of A-1000 and duplex of A-full.

Jeremy

On a real Cisco device, this will be 1000 and full without the A, because these settings were manually configured, not auto negotiated.

Jeremy

Finally, let's save the configurations. End. End. This time, I'll just use write to save the configuration. the configuration.

Jeremy

Now, let's check. Show startup config. Looks like our configuration changes were applied. That's all for this lab.

Jeremy

Thank you for watching. Please subscribe to the channel, like the video, leave a comment, and share the video with anyone else studying for the CCNA.

Jeremy

the CCNA. If you want to leave a tip, check the links in the description. I'm also a Brave Verified Publisher and accept BAT or Basic Attention Token tips via the Brave browser.

Jeremy

That's all for now.

Keyboard shortcuts

Shortcuts are ignored while you are typing in a search box, note field, or the scratchpad.

Playback

SpaceK
Play or pause
←→
Seek 5 seconds
JL
Seek 10 seconds
C
Toggle in-video captions

Scrubber (when focused)

←→
Seek 5 seconds
Shift←/→
Seek 10 seconds
Page UpPage Down
Seek 30 seconds
HomeEnd
Jump to start or end

Flashcards

Space
Reveal the answer
1234
Grade Again / Hard / Good / Easy

Navigation

←→
Move between study-mode tabs
HomeEnd
First or last study-mode tab
?
Open or close this sheet