Free CCNA | Configuring Interfaces | Day 9 Lab | CCNA 200-301 Complete Course

Jeremy's IT Lab
28 Dec 201911:53

Summary

TLDRThis comprehensive video tutorial covers the step-by-step configuration of interfaces on a router and two switches within a single LAN network. The instructor meticulously guides viewers through configuring hostnames, IP addresses, speed and duplex settings, interface descriptions, disabling unused interfaces, and saving configurations across all devices. The hands-on approach, supplemented by clear explanations and visual demonstrations using Packet Tracer software, provides a practical learning experience ideal for CCNA candidates or those seeking to solidify their networking skills.

Takeaways

  • 🎥 This is a free video tutorial on configuring interfaces on a router and two switches for the CCNA 200-301 exam.
  • 🔧 The main steps covered are configuring hostnames, IP addresses, speed and duplex, interface descriptions, disabling unused interfaces, and saving configurations.
  • 🌐 The network setup is a single LAN with IP range 172.16.0.0/16 connected to the router's G0/0 interface.
  • 📝 The configuration steps are demonstrated one device at a time, but can be done in any order.
  • 🔑 Key commands used include 'enable', 'configure terminal', 'hostname', 'interface', 'ip address', 'speed', 'duplex', 'description', 'no shutdown', 'shutdown', and various show commands.
  • 💾 Different methods for saving the configuration are shown, including 'copy running-config startup-config', 'write memory', and 'write'.
  • ⚠️ Packet Tracer, the simulator used, may not always behave exactly like real Cisco devices, as noted in the video.
  • 🖥️ The script also covers configuring IP addresses on the PCs within the network.
  • 👍 The video encourages viewers to subscribe, like, comment, and share the video to support the free tutorial series.
  • 💰 The option to leave tips for the creator is mentioned, including Brave Attention Tokens (BAT).

Q & A

  • What is the purpose of this lab?

    -The purpose of this lab is to configure interfaces on a router (R1) and two switches (SW1 and SW2) to establish a single LAN network with IP subnet 172.16.0.0/16.

  • What are the main steps involved in configuring the devices?

    -The main steps are: 1) Configure hostnames, 2) Configure IP addresses, 3) Configure speed and duplex, 4) Configure interface descriptions, 5) Disable unused interfaces, and 6) Save the configurations.

  • How is the IP address configured on R1's G0/0 interface?

    -The IP address 172.16.255.254/16 is configured on R1's G0/0 interface, which acts as the gateway for the LAN network.

  • Why is the speed and duplex manually configured on R1's G0/0 interface?

    -The speed and duplex are manually configured on R1's G0/0 interface because it is connected to another networking device (SW1), and manual configuration is recommended for optimal performance.

  • How are the PCs configured in this lab?

    -The PCs (PC1, PC2, PC3, and PC4) are configured with IP addresses 172.16.0.1, 172.16.0.2, 172.16.0.3, and 172.16.0.4 respectively, all within the 172.16.0.0/16 subnet. Their gateway is set to R1's address (172.16.255.254).

  • What is the purpose of configuring interface descriptions?

    -Interface descriptions are configured to provide a brief explanation of the connection or purpose of each interface, making it easier to understand and manage the network configuration.

  • Why are unused interfaces disabled on the switches?

    -Unused interfaces on the switches are disabled (shut down) for security reasons and to prevent unauthorized access or potential issues from those unused ports.

  • What methods are used to save the configurations on the devices?

    -Three different methods are used to save the configurations: 1) On R1, the 'copy running-config startup-config' command is used, 2) On SW1, the 'write memory' command is used, and 3) On SW2, the 'write' command is used.

  • What is the purpose of using the 'do' command in the lab?

    -The 'do' command is used to temporarily execute a privileged EXEC mode command from a lower mode, such as when executing the 'show ip interface brief' command from the interface configuration mode.

  • What is the issue mentioned regarding the speed and duplex settings on Packet Tracer?

    -The issue mentioned is that on Packet Tracer, when speed and duplex are manually configured, the interface status shows 'a-1000' and 'a-full' (indicating auto-negotiated settings), which is incorrect and does not match the behavior of a real Cisco device, where it should display the manually configured settings without the 'a-' prefix.

Outlines

00:00

🖥️ Configuring a Router and Switches in Jeremy's IT Lab

This paragraph serves as an introduction to a free CCNA 200-301 course video. It provides an overview of the lab, which involves configuring interfaces on a router (R1) and two switches (SW1 and SW2) in a single LAN (172.16.0.0/16). The lab covers six main steps: configuring hostnames, IP addresses, speed and duplex, interface descriptions, disabling unused interfaces, and saving configurations. The paragraph outlines that the configurations will be demonstrated one device at a time, starting with R1.

05:04

⚙️ Configuring R1, SW1, and PCs

This paragraph delves into the configuration process for R1, SW1, and the PCs in the lab environment. It begins by configuring the hostname, IP address, speed, duplex, and description on R1's G0/0 interface connected to SW1. It then configures descriptions for unused interfaces on R1 and saves the running configuration to the startup configuration. The paragraph then moves on to configure IP addresses for PC1, PC2, PC3, and PC4. Next, it configures SW1's hostname, interface settings (speed, duplex, descriptions), and disables unused interfaces. Finally, it saves SW1's configuration using the 'write memory' command.

10:06

🔧 Configuring SW2 and Wrapping Up

This final paragraph focuses on configuring SW2 in the lab environment. It begins by setting the hostname for SW2 and checking the interface status. It then proceeds to configure SW2's G0/1 interface (connected to SW1) with speed, duplex, and description settings. The paragraph also configures descriptions for interfaces connected to end hosts and disables unused interfaces on SW2. After verifying the configuration changes, it saves SW2's configuration using the 'write' command. The paragraph concludes by thanking the viewers, encouraging them to subscribe, like, comment, and share the video, and providing information about tipping options.

Mindmap

Keywords

💡Interface

An interface is a connection point between a device and a network or another device. In the video, interfaces are configured on the router (R1) and switches (SW1 and SW2) to establish network connectivity. Examples include configuring IP addresses, speed, duplex mode, and descriptions on interfaces like GigabitEthernet0/0 on R1 and GigabitEthernet0/1 on SW1.

💡IP Address

An IP address is a unique identifier assigned to each device on a network to allow communication. In the video, IP addresses are configured on router and PC interfaces, such as 172.16.255.254 on R1's GigabitEthernet0/0 interface and 172.16.0.1 on PC1's FastEthernet0 interface. IP addresses are essential for devices to send and receive data over the network.

💡Subnet Mask

A subnet mask is a 32-bit number used to divide an IP network into smaller subnetworks. In the video, the subnet mask 255.255.0.0 is used for the 172.16.0.0/16 network, indicating that the first 16 bits are used for the network portion and the remaining 16 bits are used for host addressing within each subnet.

💡Speed

Speed refers to the data transfer rate of a network interface, typically measured in bits per second (bps). In the video, the speed of interfaces on the router and switches is configured to 1000 Mbps (1 Gbps) using the 'speed 1000' command, which is appropriate for Gigabit Ethernet interfaces.

💡Duplex

Duplex mode determines the directional flow of data on a network interface. In the video, full-duplex mode is configured on the interfaces using the 'duplex full' command, allowing simultaneous data transmission and reception. Full-duplex is preferred over half-duplex for improved performance and efficiency.

💡Description

A description is a user-defined label or comment assigned to an interface to help identify its purpose or connection. In the video, descriptions like '## to SW1 ##' and '## not in use ##' are configured on interfaces using the 'description' command, making it easier to understand the network topology and troubleshoot issues.

💡Hostname

A hostname is a unique name assigned to a network device, such as a router or switch, to identify it on the network. In the video, the hostnames 'R1', 'SW1', and 'SW2' are configured using the 'hostname' command, replacing the default hostnames and making it easier to manage and reference the devices.

💡Configuration

Configuration refers to the process of setting up and modifying the parameters and settings of network devices to ensure proper operation and connectivity. In the video, various configurations are applied to the router and switches, such as configuring IP addresses, interface settings, and saving the configurations to the startup configuration file.

💡Running Configuration

The running configuration is the current set of active settings and configurations on a network device, stored in its volatile memory (RAM). In the video, the 'show running-config' command is used to display the current running configuration, which includes all the changes made during the configuration process.

💡Startup Configuration

The startup configuration is the saved configuration file that a network device loads and applies during the boot-up process. In the video, commands like 'copy running-config startup-config', 'write memory', and 'write' are used to save the running configuration to the startup configuration file, ensuring that the configured settings persist across device reboots.

Highlights

This is a free, complete course for the CCNA 200-301.

In this lab we'll configure interfaces on a router and two switches.

There are six main steps in this lab: 1, configure hostnames. 2, configure IP addresses. 3, configure speed and duplex. 4, configure interface descriptions. 5, disable unused interfaces. And 6, save the configurations.

The first step is to configure the hostname of R1 using the 'hostname' command.

Configuring the IP address on R1's G0/0 interface using the 'ip address' command.

Configuring the speed and duplex on R1's G0/0 interface using the 'speed' and 'duplex' commands.

Configuring a description on R1's G0/0 interface using the 'description' command.

Enabling R1's G0/0 interface using the 'no shutdown' command.

Configuring descriptions on R1's other interfaces to indicate they are not in use using the 'interface range' and 'description' commands.

Saving R1's running configuration to the startup configuration using the 'copy running-config startup-config' command.

Configuring IP addresses on PCs using the 'ip address' command.

Configuring the hostname of SW1 using the 'hostname' command.

Configuring speed, duplex, and description on SW1's G0/1 and G0/2 interfaces using the 'speed', 'duplex', and 'description' commands.

Configuring descriptions on SW1's FastEthernet interfaces using the 'interface range' and 'description' commands.

Disabling and configuring descriptions on SW1's unused interfaces using the 'interface range', 'description', and 'shutdown' commands.

Saving SW1's configuration using the 'write memory' command.

Configuring the hostname of SW2 using the 'hostname' command.

Configuring speed, duplex, and description on SW2's G0/1 interface using the 'speed', 'duplex', and 'description' commands.

Configuring descriptions on SW2's FastEthernet interfaces using the 'interface range' and 'description' commands.

Disabling and configuring descriptions on SW2's unused interfaces using the 'interface range', 'description', and 'shutdown' commands.

Saving SW2's configuration using the 'write' command.

Transcripts

play00:01

Welcome to Jeremy’s IT Lab.

play00:03

This is a free, complete course for the CCNA 200-301.

play00:08

If you like these videos, please subscribe to follow along with the series.

play00:13

Also, please like and leave a comment, and share the video to help spread this free series

play00:18

of videos.

play00:19

Thanks for your help.

play00:22

In this lab we’ll configure interfaces on a router and two switches.

play00:27

This is a single LAN, 172.16.0.0/16, connected to R1’s G0/0 interface.

play00:36

In the real world, R1 would then connect to other LANs or perhaps the Internet, but we’ll

play00:41

just configure this small LAN for now.

play00:43

Let’s get started.

play00:45

So, there are six main steps in this lab. 1, configure hostnames.

play00:51

2, configure IP addresses.

play00:54

3, configure speed and duplex.

play00:57

4, configure interface descriptions.

play01:01

5, disable unused interfaces.

play01:04

And 6, save the configurations.

play01:07

Instead of going through each step one by one, I’ll go through the steps one device

play01:11

at a time, but you can do it in any order you like.

play01:15

So, let’s go on R1 first. The first step is to configure the hostname.

play01:22

As you can see, it currently has the default hostname of ‘router’ as indicated by the

play01:27

prompt here.

play01:28

Let’s change it to R1.

play01:31

Use ‘enable’ to enter privileged exec mode, then ‘configure terminal’ to enter

play01:36

global config mode.

play01:38

From here simply type hostname R1, and you can see the prompt has changed to indicate

play01:44

the new hostname.

play01:46

Now let’s configure the IP address on its G0/0 interface.

play01:51

Type ‘interface g0/0’ to enter interface config mode for the interface.

play01:57

Actually, before doing the configuration, let’s confirm the current status of the

play02:02

interface.

play02:03

Do show ip interface brief.

play02:06

Remember, ‘do’ let’s me use the show command even though I’m not in privileged

play02:11

exec mode.

play02:13

Here’s the gigabitethernet0/0 interface, the IP address is unassigned, so the method

play02:19

is unset, and the status is administratively down because that’s the default setting

play02:25

for router interfaces.

play02:27

Let’s configure it and then check again after.

play02:30

So, let’s configure the IP address.

play02:34

IP ADDRESS 172.16.255.254, and because the prefix length is /16, the subnet mask will

play02:43

be 255.255.0.0.

play02:48

Okay, now because this interface is connected to another networking device, SW1, I’ll

play02:53

manually configure the speed and duplex.

play02:57

SPEED 1000, meaning 1000 megabits per second because this is a gigabitethernet interface.

play03:04

Then, duplex full.

play03:07

Devices attached to switches can use full duplex, there’s no reason to use half-duplex

play03:11

like a device attached to a hub.

play03:14

Next let’s configure a description.

play03:17

I’ll indicate that this device (interface) is connected to SW1.

play03:21

So, description ## to SW1 ##. Now, the last step is to disable interfaces which are not connected

play03:29

to other devices.

play03:31

Because router interfaces are shutdown by default, we don’t have to do that, however

play03:37

we do have to do the opposite for this interface which is connected to another device, so

play03:42

no shutdown.

play03:43

There we go, now the interface is enabled and let’s check out the status.

play03:49

Do show ip interface brief.

play03:52

Okay, you can see the IP address we configured, the method is manual, the status is up, but

play03:59

the protocol is down.

play04:02

Although on a real Cisco device I think this should be UP/UP, on packet tracer its down

play04:08

because I manually configured the speed and duplex on this interface without doing so

play04:13

on SW1’s interface, but we’ll fix that soon.

play04:16

That’s a downside of using a simulator like packet tracer, sometimes things don’t behave

play04:22

like they should on a real device.

play04:25

Before moving on to SW1, I’ll configure descriptions on R1’s other interfaces to

play04:30

indicate that they are not in use.

play04:32

I’ll use the interface range command.

play04:36

Interface range g0/1 – 2.

play04:41

DESCRIPTION ## not in use ##. Okay, let’s check our config.

play04:46

Do show run.

play04:47

Here’s the running config of the device, and here are the configurations of the interface,

play04:53

including speed, duplex, ip addresses, and descriptions.

play04:57

Okay, since I’m done configuring, I’ll use END to return to privileged exec mode.

play05:04

Now let’s save the running configuration.

play05:07

There are three Cisco devices in this lab, I’ll use a different method to save the

play05:11

configuration on each device to show you each one.

play05:15

Here on R1, I’ll use copy running-config startup-config, and hit enter to confirm.

play05:22

Now let’s check if it was saved to the startup-config.

play05:26

Show startup-config….here are the interfaces, and you can see the configuration changes

play05:32

we made.

play05:33

Okay, that’s all for R1.

play05:37

Before moving on to SW1, I’ll make the only configuration change we need to make on the

play05:41

PCs, configuring their IP addresses.

play05:44

Let’s go on PC1….Click on config.

play05:50

And notice I pre-configured the gateway, which is R1’s address, because its the router

play05:55

for the network.

play05:56

Now, click on Fastethernet0, which is PC1’s network interface.

play06:01

PC1’s IP address is 172.16.0.1.

play06:08

I hit TAB, and it automatically fills in the appropriate subnet mask 255.255.0.0.

play06:15

Okay, now I can exit out.

play06:19

Next is PC2. Click config.

play06:22

Fastethernet0.

play06:24

IP address 172.16.0.2, hit tab and it fills in the subnet mask.

play06:31

Next is PC3...config.

play06:34

Fastethernet0.

play06:37

IP address of 172.16.0.3, hit tab to fill in the subnet mask, and exit.

play06:46

Finally, PC4….config.

play06:48

Fastethernet0.

play06:50

IP address of 172.16.0.4, hit tab to fill in the subnet mask, and exit.

play06:58

Okay, now let’s configure SW1….enable.

play07:05

Conf t.

play07:06

First, the hostname.

play07:09

Hostname SW1.

play07:11

Now let’s check out the interfaces.

play07:14

Do show interfaces status.

play07:17

This is a command that works on switches, but not routers, by the way.

play07:22

As you can see, all default settings.

play07:25

No descriptions.

play07:26

The statuses are connected or not connect, not DISABLED because these are switch interfaces,

play07:32

they are not shutdown by default.

play07:35

The speed and duplex are auto and auto as well.

play07:38

Okay, let’s configure the G0/1 interface.

play07:41

Interface g0/1.

play07:45

Speed 1000.

play07:47

DUPLEX full.

play07:48

It’s connected to R1, so DESCRIPTION ## to R1 ##. Thats it!

play07:55

Now G0/2.

play07:57

Interface G0/2.

play08:00

Speed 1000.

play08:02

DUPLEX full.

play08:03

It’s connected to SW2, so DESCRIPTION ## to SW2 ##. Now, as for fastethernet0/1 and 0/2,

play08:13

they are connected to end hosts so according to the lab instructions I don’t need to

play08:18

configure the speed and duplex.

play08:20

So, I’ll just configure descriptions.

play08:24

Interface range f0/1 – 2.

play08:28

DESCRIPTION ## to end hosts ##. Now, as for the rest of the interfaces, I’ll configure

play08:34

descriptions and shut them down.

play08:37

There are 22 unused fastethernet interfaces, so interface range f0/3 – 24.

play08:46

DESCRIPTION ## not in use ##. shutdown.

play08:51

Okay, let’s configure the configurations.

play08:53

Do show interface status.

play08:56

Okay, you can see the interfaces we disabled.

play08:59

Again, because I configured the duplex manually on G0/2 it's down at the moment, but will come up when

play09:06

we configure SW2.

play09:09

Notice the speed and duplex we manually configured.

play09:12

This is also a problem with packet tracer.

play09:14

It says a-1000 and a-full, meaning it autonegotiated the speed of 1000 and duplex of full, which

play09:24

is incorrect because we manually configured it.

play09:27

On a real Cisco device, this will say simply 1000 and full, without the A. Anyway, I’ll

play09:35

type END to return to privileged exec mode.

play09:39

Now let’s save the configuration.

play09:41

This time, I’ll use WRITE MEMORY.

play09:43

Okay, let’s check the startup-config.

play09:47

Show startup-config.

play09:49

Okay, you can see the changes we made to the interfaces here.

play09:53

Let’s go on to the last device, SW2….enable.

play09:59

Conf t.

play10:01

hostname SW2.

play10:03

Let’s check the interfaces.

play10:05

Do show interfaces status.

play10:08

As you can see, all the defaults again.

play10:11

Now the configurations we will make are the same as for SW1, except SW2 has only one active

play10:17

gigabitethernet interface, G0/1.

play10:20

So, I’ll run through the configurations.

play10:24

Interface g0/1.

play10:27

Speed 1000.

play10:28

duplex full.

play10:31

DESCRIPTION ## to SW1 ##. interface range f0/1 – 2.

play10:37

description ## to end hosts ##. Now, let’s shut down the other interfaces all at once.

play10:44

Interface range g0/2, f0/3 – 24.

play10:50

description ## not in use ##. shutdown.

play10:53

Now let’s check.

play10:55

Do show interfaces status.

play10:58

Once again, notice the speed of a-1000 and duplex of a-full.

play11:03

On a real Cisco device, this will be 1000 and full, without the A, because these settings

play11:09

were manually configured, not autonegotiated.

play11:12

Finally, let’s save the configurations.

play11:16

END.

play11:17

This time, I’ll just use ‘WRITE’ to save the configuration.

play11:21

Now let’s check.

play11:22

Show startup-config.

play11:25

Looks like our configuration changes were applied.

play11:28

That’s all for this lab.

play11:32

Thank you for watching.

play11:33

Please subscribe to the channel, like the video, leave a comment, and share the video

play11:37

with anyone else studying for the CCNA.

play11:41

If you want to leave a tip, check the links in the description.

play11:43

I'm also a Brave verified publisher and accept BAT, or Basic Attention Token, tips via the

play11:49

Brave browser.

play11:51

That's all for now.

Rate This

5.0 / 5 (0 votes)

Related Tags
Network ConfigurationCCNA TrainingCisco DevicesRoutersSwitchesIP AddressingInterface ManagementVideo TutorialHands-on LabEducational Content