clock rate is used for DCE connection.
whenever you connect two serial port u have to give make one port end DCE and second one is DTE.So clock rate is given to the DCE to communication.
by default it is 64000
#clock rate 64000
The clock rate defines the speed of the link. This is supplied by your telco.
The only time you'll probably ever need to define the clock rate is in a lab environment.
Aaah thank you, I know its assigned on the DCE end but didnt know what rate was correct or who supplies it. In a Lab enviroment it doesnt matter but it is required.
If you are on a lab, then you would set the maximum supported speed. You would verify the DCE end by issuing the command "sh controllers serial <the-int-name>" and then set the clock rate under that interface by using the command "clock rate...".
Are you meaning in LAB environment?, if so, you can do it, but if you are meaning on a real connection then you should set the exact clock rate supplied by your ISP.
A router would give you the supported clock rates based on the serial card model, example:
NAME: "chassis", DESCR: "1841 chassis"
NAME: "WIC/HWIC 0", DESCR: "WAN Interface Card - Serial (1T)"
PID: WIC-1T= , VID: 1.0, SN: xxxxxxxx
Router(config-if)#clock rate ?
Speed (bits per second)
<300-8000000> Choose clockrate from list above
if the ISP gives 64000 cloc rate then i should apply exactly 64000 while configuring. am i correct? what is the clock rate nowadays provided by ISP? is that commonly given to all WAN link? and any diffence isp to isp?
Yes you should apply the exact rate given to you by ISP. I'm not that good with that old technology, but I think nowadays that technology is almost gone.
Not the command in itself, I meant the technology on which is being used (serial connections). I think we do still deal with it because it would be required for all certificates tracks.