Configuring a Serial Interface : How to Configure the Serial Interface of a CISCO Router
By rancidTaste
The serial interface of a CISCO router can be configured from the console or through a virtual terminal line. The configuration of a CISCO router is very simple and easy. At first, you have to select the interface and then the IP address. Later, the serial interface may require clock signal if it's a DCE otherwise nothing. This page contains all the information to configure the serial interface of a CISCO router.
Steps to configure the serial interface of a CISCO router:
The steps to configure a CISCO router is described below:
Step 1:
At first, enter the global configuration mode and then enter the interface mode. To enter interface mode, you have to type interface serial 0/1 command. Here, 0/1 means the port no or port slot.Put the serial interface port/port slot according to the desired port you want to configure.
Step 2:
Now, configure the IP address and the subnet mask. Please, careful to use the correct subnet address.
Step 3:
Now, set the bandwidth. It's optional but you may assign now or later.
Step 4:
Set the clock rate if you want to use the router as a DCE. Otherwise, skip this step.
Step 5:
At last, turn on the interface.
Note:
- By default, the interfaces are turned off. So, to turn on an interface, use no shutdown command. If you don't use this command, your router may not work properly.
- Always careful about the DTE and DCE. DTE refers to Data Terminal Equipment and DCE refers to Data Communication Equipment. When you are connecting two routers by a cable, then one end must be DCE. If you use both end either DTE or DCE, the router will not work. So, keep special attention whether you need to configure the router as a DCE or DTE. If it needs to configure as DCE, then set the clockrate of that terminal port.
Pracitcal Example of a CISCO Router's Serial Interface Configuration
Let there is a router. We want to configure it's serial port 2/0. The IP address of that port will be 192.168.0.1 and subnet mask will be 255.255.255.0. Moreover, we have to set the bandwidth 120Kb. Configure the router as a DCE.
Router Configuration Command
Router>enable Router#configure terminal Enter configuration commands, one per line. End with CNTL/Z. Router(config)#interface serial 2/0 Router(config-if)#ip address 192.168.0.1 255.255.255.0 Router(config-if)#bandwidth 128 Router(config-if)#clock rate 56000 Router(config-if)#no shutdown Router(config-if)#exit Router(config)#
Discussion of the above command
Before configuring the router, we access the global configuration mode. After accessing global configuration mode, we select the interface which we want to configure by the command interface serial 2/0 and then set the IP address by the command ip address 192.168.0.1 255.255.255.0. Now, set the bandwidth by the command bandwidth 128. As the router is a DCE, the clock rate is set by the command clock rate 56000. At last use the command no shutdown command to up the router.
Test yourself
You have given a CISCO router. You have to configure base on the following specifications:
- The router will be a DCE and bandwidth will be 256Kb.
- Assign IP address (172.16.55.1/24 ) on serial 3/0 port
Answer / Solution: Click the following link
Show me the answer of this exercise
© Written by rancidTaste
If you are enjoyed this post, please consider to give a thumbs up and leave a comment. You may Subscribe to rancidTaste's RSS feed to get new pages which will be delivered to your feed reader. You can also read more hubs by rancidTaste.
- How to install Twitter widget into your blog?
Twitter, is becoming very popular day-by-day and a free social messaging utility for staying connected in real-time with your friends.
- How to add "Top of the page" icon to your blog?
"Top of the page" icon link is an important thing if your blog post is long.
- How to find out and change the size of your blog's header image?
Blogger header image gives the uniqueness of your blog among the millions of blogs.
- Troubleshooting
If you are a compute user, then you may face several types of problems at different times.
- ESET NOD32
Virus, Malware, Trojan, Worm, Spyware, Adware, Botnet etc.
- NOD32 keys
ESET NOD32 is one of the best effective and most proactive antivirus software and malware protection.
- How to Get Free ESET NOD32 Antivirus Key And Password
Different antivirus software are used to protect our PC form virus.
- Changing Your Blog's Header Image
You can easily add your favorite image or photo as a blog's header image.
rancidTaste's Recent Pages
- Drawing a line: How to draw a line using HTML 5?
HTML5 canvas API provides basics tools and great supports to draw and style different types of sub paths including lines, arcs, Quadratic curves, and Bezier curves, as well as a means for creating paths by connecting sub paths. - 5 days ago
- SEO Pages
SEO, Search Engine Optimization and Keywords - these common three terms are the brainstorming terms for any content publisher, seo company, seo service provider, seo researcher, seo firm, seo consultant, seo professional or other seo lover. - 3 months ago
- WordPress.org vs. WordPress.com: An explained comparison between WordPress.org an WordPress.com
WordPress is a common name but do you know that there are two things: WordPress. - 3 months ago
- Creating database from cpanel: How to create a database from cpanel hosting?
A step by step full tutorial to create a database from cpanel hosting account for any dynamic website. - 3 months ago
- Natural Join in Database: Retrieving records from more than one table with Natural Joins
Natural Join is one of the sql joining. - 3 months ago
- Explanation of SQL Join: Obtaining data from multiple tables using Join
Explanation of SQL Join: Obtaining data from multiple tables using Join. - 3 months ago
- How to solve "CreateFile error 32 when trying set file time" Error During Oracle Installation
Solution of the Oracle installation problem on Windows 7 / Windows XP during Oracle installation start-up. - 3 months ago
- A Brief Explanation of SQL Statements and Classification
Any type of database is based on several statements. - 3 months ago
Comments
Thank you for your efforts in writing this helpful info. about CISCO router. I hope you every success in your life
thnxx so much man
good basic stuff
Thank you for your efforts in writing this helpful info
Router>enable
Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#interface serial 2/0
Router(config-if)#ip address 192.168.0.1 255.255.255.0
Router(config-if)#clock rate 64000
Router(config-if)#no shutdown
Router(config-if)#exit
Router(config)#
THANKX A LOT
Router>enable
Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#interface serial 3/0
Router(config-if)#ip address 172.16.55.1 255.255.255.0
Router(config-if)#bandwidth 256
Router(config-if)#clock rate 56000
Router(config-if)#no shutdown
Router(config-if)#end
Router#wr
Allah's slave 2 years ago
Thank you for your efforts in writing this helpful info. about CISCO router. I hope you every success in your life