How to Set Clock Rate on Router’s Serial Interface (Cisco packet tracer Lab)

setting clock rate on router's serial interface

Setting clock rate on a router’s serial interface is required when you want to use a back-to-back WAN connection. When two routers are connected one must supply the clocking for communication with each other. Setting clock rate is important for synchronization as each clock pulse signals the transmission of a bit. It is important to know the process of setting clock rate on router’s serial interface from CCNA exam perspective and network labs, but in real world almost every network provider delivers clock signal which does not require setting any clock rate on router at the customer end.

Before jumping to the commands for setting clock rate you should know the difference between DTE and DCE. Whenever two routers are connected one will act as DTE and the other will act as DCE, the decision is up to the network engineer/administrator to specify each router as DCE OR DTE.

DTE (Data Terminating Equipment)

DTE equipment are usually owned by customer and are located in customer premises. DTE equipment is responsible for the conversion of information into signals for transmission and also converts the signals when received into user information. Example of DTE devices are computers, routers and bridges.

DCE (Data Circuit Terminating Equipment)

The equipment or a device which performs signal conversion and coding function and located in between the communication line/ communication medium and DTE are known as DCE. The DCE equipment may be an integral part of DTE. Equipment or devices which provide clocking to other devices are known as DCE devices.

Now that you have known the difference between DTE and DCE equipment we will go directly to the commands for setting clock rate on any router.

The clock rate command sets the rate in bits per second on the router that has DCE cable plugged in, the IOS accepts the command, if DTE cable is plugged in, the IOS rejects the command.

Note: In packet tracer two router are connected by serial cable and you can set clock rate on any router according to your preference, this way one router will act as DCE and the other as DTE.

UpaaeRouter1#show ip interface brief  // check how may interfaces you have, note serial interface numbers

Interface IP-Address OK? Method Status Protocol

FastEthernet0/0           unassigned YES unset administratively down down

FastEthernet0/1           unassigned YES unset administratively down down

Serial0/0/0                   unassigned YES unset administratively down down

Serial0/0/1                  unassigned YES unset administratively down down

Vlan1                          unassigned YES unset administratively down down

We Will apply clock rate on serial 0/0/0 interface of UpaaeRouter1, checking available and supported clock rates for serial 0/0/0 interface

UpaaeRouter1(config)# interface serial 0/0/0
UpaaeRouter1(config-if)#clock rate ? // choose a clock rate from the list below
Speed (bits per second)
1200
2400
4800
9600
19200
38400
56000
64000
72000
125000
128000
148000
250000
500000
800000
1000000
1300000
2000000
4000000
<300-4000000> Choose clockrate from list above

Full list of commands for setting clock rate on a serial interface.

UpaaeRouter1> enable
UpaaeRouter1# configure terminal
UpaaeRouter1(config)#
UpaaeRouter1(config)# interface serial 0/0/0
UpaaeRouter1(config-if)# clock rate 64000
UpaaeRouter1(config-if)# end

Verify if clock rate is applied on serial 0/0/0 interface

Show controllers “serial interface number” // this command is used to check if clock rate is applied.

After setting the clock rate on serial 0/0/0 interface when you run show controllers serial0/0/0 command the output will be

UpaaeRouter1#show controllers serial0/0/0
Interface Serial0/0/0
Hardware is PowerQUICC MPC860
No serial cable attached
//In case you did not have attached serial cable.

//Show controllers serial0/0/0 result when serial cable is connected
UpaaeRouter1#show controllers serial0/0/0
Interface Serial0/0/0
Hardware is PowerQUICC MPC860
DCE V.35, clock rate 64000



Leave a Reply

Your email address will not be published. Required fields are marked *


109 Views