Syncing IOS Clock from Cellular Provider
I recently had a request to enable time synchronization from a Cellular provider to a 3G model of the Cisco 819. Looking through several documentation sources, I found an example of EEM policy utilizing GPS data in this manner.
LTE GPS Antenna Guide Cisco Integrated Services Router (ISR G2) and Connected Grid Router
After looking at the TCL script outlined in the above document, I thought it would be an easy modification to achieve this result with the cellular network data. After fighting with the script and EEM policy for a couple of hours, I stepped back and looked at the options for creating an EEM Applet. My goal was to achieve similar results but utilizing the time provided by the cellular carrier. This article outlines my process and the final configuration.
The source of the data that I wanted to use was derived from the show cell 0 network command.
CiscoRTR#show cell 0 network Current Service = 1xEV-DO (Rev A) and 1xRTT Current Roaming Status(1xRTT) = HOME, (HDR) = HOME Current Idle Digital Mode = HDR Current System Identifier (SID) = DDDD Current Network Identifier (NID) = DDD Current Call Setup Mode = Mobile IP only Serving Base Station Longitude = Continue reading