- Internet & the Web
Configuring a Serial Interface : How to Configure the Serial Interface of a CISCO Router
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:
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.
Now, configure the IP address and the subnet mask. Please, careful to use the correct subnet address.
Now, set the bandwidth. It's optional but you may assign now or later.
Set the clock rate if you want to use the router as a DCE. Otherwise, skip this step.
At last, turn on the interface.
- 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.
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
© 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.