Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Sync Time 1

Status
Not open for further replies.

bigtee959

Technical User
Dec 20, 2004
154
0
0
US
Does anyone have a way to sync the time on the CS1000 with the server time on the network. I have been told this is an independant clock and it does not have the ability to sync.

Help

T

Terence Phillips
Telecommunication Specialist
 
i use this sub script, just do a call myproc from any script. it syncs to my pc which is on network time

Code:
proc myproc   
integer iDay, iMonth, iYear, iMin, iHour, iSec
string sSend
  
   ltimeints $LTIME iYear iMonth iDay iHour iMin iSec
   
   strfmt sSend "STAD %02d %02d %d %02d %02d %02d" iDay iMonth iYear iHour iMin iSec
   set txpace 30
   transmit "****^M"
   waitfor ">   
      
   transmit "ld 2^M"
   waitfor "."
   
   transmit "TTAD^M"
   waitfor "."
   transmit sSend
   transmit "^M"
   waitfor "."
   
   pause 2
   transmit "TTAD^M"
  
   pause 2
   transmit "****^M"
 
  endproc

john poole
bellsouth business
columbia,sc
 
I was told by our Nortel Liason yesterday that R 5.0 due in 1Q 2007, will have NTP (Network Time Protocol) capability and it will be performed in LD 117.
 
man, they jumped right on that, nothing like 40 years to learn how to sync the clock...

john poole
bellsouth business
columbia,sc
 
Johnpoole,
I just tried your script and it worked fantastic. I do have an ignorant question, though. My company has PBX's in every time zone. If I'm on the west coast, and run your script while logged into one or our east coast PBXs, will I've just set it the pacific time?
Thanks
 
what you need to do is set up network time sync between all your switches.. that gives you a time zone setback, then just run that script on one switch, making it the master time source in ld 2.. i had this problem because of time reports on symposium.. once time sync if built it does not fail.. (yet)

john poole
bellsouth business
columbia,sc
 
John does your script assume your companys network sync time is correct, my companys network is 2 Min fast. can your script be changed to sync off a internet clock like National clock in Colorado.
 
A note of caution if using network time sync where the master is ahead of a slave, (such as the master is Eastern Time, and a slave is Central time) between midnight and 1am on the master, the slave will get the wrong date, messing up the CCMS database on the slave. All on rls 4.5, needed p22557_2.ssc to correct this (on the slave)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top