2
Serial Interfaces
Configuration 4
LEARNING OUTCOMES
LESSON OUTLINE
•
•
•
•
RESOURCES NEEDED
•
3
TABLE OF CONTENTS
Pretest 4
9
1. Differentiate FastEthernet port and Serial port.
2.Discuss the purpose of Serial port. 15
3. Compare DCE and DTE.
4
There are several interfaces present on a router. Every interface does have its own applications.
Ethernet is being used in applications in which the data must be broadcast fast and the gap between
the routers is less.
The Ethernet is transmitting the information that is parallel and thus gets high speed. Although
the Ethernet sends data at high speeds it has a restriction that the Ethernet will not be able to transfer
data through long distances. To resolve the issue of transferring data over long distances, serial
interfaces are being used.
The question is “How to set up a Serial interface when you use a router?”. To do this, you need to
connect two routers by using a DCE-DTE cable. An interface to which DTE end is linked to function
as a Data Terminal Equipment and the end where DCE connected acts as Data Communication
Equipment.
Do the same illustration below.
You need to add the serial ports in your routers to configure the serial interface. You must click
the Router3 and Router4 then make sure your turn off first your devices and go to modules then
choose WIC-2T.
5
Drag the serial ports to the available ports in your routers.
Turn on your devices after adding the serial ports.
Now select connections from the same bottom left-hand corner. In your Router3 choose Serial
DCE cable and attach the other end to Router4.
Your diagram must be the same as the image shown below.
6
The basic configuration of a serial connection is no different than the other types of connections
you enter Interface Configuration mode, set the IP address, and remove the shutdown command.
For Serial with clock signal
Syntax:
Router(config)#interface Serialnumber
Router(config-if)#ip address hostaddress subnetmask
Router(config-if)#clock rate value
Router(config-if)#no shutdown
Example
Router(config)#interface Serial0/0/0
Router(config-if)#ip address 192.168.1.2 255.255.255.0
Router(config-if)#clock rate 64000
Router(config-if)#no shutdown
For Serial without clock signal
Syntax:
Router(config)#interface Serialnumber
Router(config-if)#ip address hostaddress subnetmask
Router(config-if)#no shutdown
To start your configuration, I will give you the IP addresses you will be using to configure the
devices in network topology.
Device Interface Host Address Subnet mask Default Gateway
Router3 Se0/3/0 130.190.0.1 255.255.0.0 N/A
7
0Router4 Se0/3/0 130.190.0.2 255.255.0.0 N/A
Now click on the Router3 CLI tab to access the configuration menu, you will start to configure
your Ethernet interfaces. Type n or no in the question “Would you like to enter initial configuration
dialog?” as shown in the image.
For Router3 se0/3/0
Data Communication End (DCE) provides clock rate and allocates bandwidth to the Data
Terminal Equipment. If you are setting the clock rate for your serial interface, you are setting up the
speed of the interface, in other terms, the bandwidth (rate of data transfer). When you use this
command it’s in the form of bits: 64000 bits = 64 kb. A bandwidth command though does not alter
the speed of the line at all; however, it must be configured on all DTE and DCE interfaces because
it is used by routing protocols and QOS.
Don’t forget to copy your configuration to NVRAM.
8
For Router4 Se0/3/0
Save your configuration to NVRAM.
If the clock is not provided at the Data Communication Equipment (DCE), the data is not
transmitted between the two serial interfaces. The serial interfaces could be physically up, but then
they are logically down. They are logically turned on if appropriate clock rate and bandwidth will be
provided at the Data Communication Equipment (DCE). To know whether the interface is up,
physically, or logically, use the command shown below.
9
Test your configuration.
POST TEST
In this lab activity, you need to create a network that is shown in the Topology Diagram. This activity
is a point score per number, you should answer the question/s in each step. Write your answer in MS
Word. And save the topology done in packet tracer. Filename is LastnameLabExer2.
10
Use the following given IP addresses that are needed to put in the addressing table.
a.) NULaguna1 to NULaguna2 – 187.10.0.0/23
For NULaguna1 use the first usable host address.
For NULaguna2 use the second usable host address.
b.) NULaguna1 to PC0 and PC1 – 200.11.1.0/ 27
For NULaguna1 use the first usable host address.
For PC0 use the second usable host address.
For PC1 use the third usable host address.
For the default gateway for PC0 and PC1 assign the first usable host address.
c.) NULaguna2 to PC2 – 202.90.2.0/29
For NULaguna2 use the first usable host address.
For PC2 use the second usable host address.
For the default gateway for PC2 assign the first usable host address.
Addressing Table
Device Interface IP Address Subnet Mask Default
Gateway
NULaguna1 Se0/0/0
Fa0/0
NULaguna2 Se0//0
Fa0/0
11
PC0 N/A
PC1 N/A
PC2 N/A
Task 1: Cable the Network.
Answer the following questions:
What type of cable is used to connect the Ethernet interface on a host PC to the Ethernet
interface on a switch? ________________________
What type of cable is used to connect the Ethernet interface on a switch to the Ethernet
interface on a router? __________________________
What type of cable is used to connect the Ethernet interface on a router to the Ethernet interface
on a host PC? _________________________
Task 2: Erase and Reload the Routers.
Step 1: Establish a terminal session to router AMA1.
Start your configuration to AMA1
Step 2: Enter privileged EXEC mode.
Router>enable
Router#
Step 3: Clear the configuration.
To clear the configuration, issue the erase startup-config command. Press Enter when prompted
to [confirm] that you really do want to erase the configuration currently stored in NVRAM.
SAMPLE OUTPUT
Router#erase startup-config
Erasing the nvram filesystem will remove all files! Continue? [confirm]
[OK]
Erase of nvram: complete
Router#
12
Step 3: Repeat Steps 1 to 4 on router NULaguna2 to remove any startup configuration file that
may be present.
Task 3: Perform Basic Configuration of NULaguna1.
Step 1: Go to CLI tab for NULaguna1
Step 2: Enter privileged EXEC mode.
What is the command?______________________________
Step 3: Enter global configuration mode.
What is the command?______________________________
Step 4: Configure the router name as AMA1.
What is the command?______________________________
Step 4: Configure the EXEC mode password.
Configure the EXEC mode password using the enable secret password command. Use class for
the password.
What is the command?_______________________________________
_______________________________________
Step 5: Configure a message-of-the-day banner.
Configure a message-of-the-day banner with message of “!!!THIS IS FOR NULaguna
STUDENTS ACCESS ONLY!!!”
What is the command?_______________________________________
_______________________________________
Step 6: Configure the console password on the router.
Use network as the password. When you are finished, exit from line configuration mode.
What is the command?_______________________________________
13
_______________________________________
_______________________________________
_______________________________________
Step 7: Configure the password for the virtual terminal lines.
Use architecture as the password. When you are finished, exit from line configuration mode.
What is the command?_______________________________________
_______________________________________
_______________________________________
_______________________________________
Step 8: Configure the FastEthernet0/0 interface.
For NULaguna1. Configure the FastEthernet0/0 interface.
What is the command?_______________________________________
_______________________________________
_______________________________________
_______________________________________
Step 9: Configure the Serial0/0/0 interface.
For NULaguna1. Configure the Serial0/0/0 interface and set the clock rate to 64000 and
bandwidth to 64.
What is the command?_______________________________________
_______________________________________
_______________________________________
_______________________________________
14
Step 10: Configure the FastEthernet0/0 interface.
For NULaguna2. Configure the FastEthernet0/0 interface.
What is the command?_______________________________________
_______________________________________
_______________________________________
_______________________________________
Step 11: Configure the Serial0/0/0 interface.
For NULaguna2. Configure the Serial0/0/0 interface.
What is the command?_______________________________________
_______________________________________
_______________________________________
_______________________________________
Step 11: Save the NULaguna1 configuration.
Save the NULaguna1 configuration using the copy running-config startup-config command.
What is the command?_______________________________________
Step 12: Save the NULaguna2 configuration.
Save the NULaguna2 configuration using the copy running-config startup-config command.
What is the command?_______________________________________
Task 13: Configure IP Addressing on the Host PCs. You can screenshot your answer.
Step 1: Configure the host PC0.
What is the command?_______________________________________
Step 2: Configure the host PC1.
15
What is the command?_______________________________________
Step 3: Configure the host PC2.
What is the command?_______________________________________
REFERENCES
CISCO Networking Academy. (2016). Introduction to networks Companion Guide v5.1 (1st ed.). USA:
CISCO Press
Cisco Networking Academy Program CCNA 1 and 2 Lab Companion (Revised 3rd Edition). Cisco Systems
Inc.: Cisco Press.
Cisco Networking Academy CCNA1 Module. Cisco Systems Inc.: Cisco Press.