Configuring GPS

This chapter describes the GPS input and how to configure it.

This chapter includes the following sections:

About GPS

The router can receive 1PPS, 10 MHz, and ToD signals from an external clocking and timing source. The three inputs are combined as a Sync-2 interface to form the external timing source or the GPS input.

The GPS front panel connector details are:

  • ToD—RS422 format as input

  • 1PPS—RS422 or DIN connector as input

  • 10MHz—DIN connector as input

GPS input starts only when all the three signals – 1PPS, 10MHz, and ToD are UP.


Note


Unlike the Ethernet interface, the Sync-2 interface cannot receive or transmit QL. Ensure that you assign a QL value to the Sync-2 interface.


By default, 1PPS and 10MHz are in output mode. ToD output mode is not configurable.

Guidelines and Limitations for GPS

GPS has the following guidelines and limitations:

  • Beginning with Cisco NX-OS Release 10.3(2)F, the GPS input is supported only on the Cisco Nexus 93180YC-FX3 switch with following limitations:

    • The ToD output is not supported.

    • RS422 ToD input is not supported.

Configuring GPS Settings for the Grandmaster Clock

Use this procedure to enable the GPS as input.

SUMMARY STEPS

  1. configure terminal
  2. clock-interface sync 1/1
  3. gps-input tod-format value pps-input value
  4. frequency synchronization

DETAILED STEPS

  Command or Action Purpose

Step 1

configure terminal

Example:

switch# configure terminal
switch(config)#

Enters global configuration mode.

Step 2

clock-interface sync 1/1

Example:

switch(config)# clock-interface sync 1/1
switch(config-clk-if)# port-parameters
switch(config-clk-params)#

Enter the GPS clock configuration mode.

Step 3

gps-input tod-format value pps-input value

Example:

switch(config-clk-params)# gps-input tod-format ntp4 pps-input ttl
switch(config-clk-params)# exit
switch(config-clk-if)#

Enables the GPS as input and configures the source for PPS input and format for the ToD input.

Supported ToD formats are:

Incoming ToD Input

Format

cisco

ASCII format

ntp4

NTP Type4 format

Supported PPS input formats are:

Incoming PPS Input

Format

RS422

RS422 format

TTL

TTL format

Step 4

frequency synchronization

Example:

switch(config-clk-if)# frequency synchronization
switch(config-clk-freqsync)# selection input
switch(config-clk-freqsync)# wait-to-restore 0
switch(config-clk-freqsync)# exit
switch(config-clock-if)#

Configures the frequency synchronization on GPS.

Verifying the GPS Configuration

After performing the GPS configuration tasks, use this reference to check for configuration errors and to verify the configuration.

show clock-interface 

The output of this command displays details of the GPS clock configuration.

The following is an example of the output of the show frequency synchronization selection command:
switch(config-clk-if)# sh frequency synchronization selection
==============
Selection point: System Clock (T0) Selector (2 inputs, 1 selected)
Last programmed 00:53:56 ago, and selection made 00:53:35 ago
Next selection points
Node scoped :
Uses frequency selection
Used for local line interface output
S Input Last Selection Point QL Pri Status
== ======================== ======================== ===== === ===========
Internal0[1] n/a SEC 255 Available
11 Sync1[1] n/a PRC 100 Locked
==============
Selection point: IEEE 1588 Clock Selector (2 inputs, 1 selected)
Last programmed 00:53:56 ago, and selection made 00:53:55 ago
Next selection points
Node scoped :
Uses frequency selection
S Input Last Selection Point QL Pri Status
== ======================== ======================== ===== === ===========
21 Internal0[1] n/a SEC 255 Holdover
Sync1[1] n/a PRC 100 Unmonitored
==============
switch(config-clk-if)#

When the front panel timing LED is Green, it indicates that the GPS is configured and 1PPS, ToD, and 10M inputs are valid.

Following is the default LED status for GPS Timing based on the input to the device:

TIMING Off GPS config and GPS port is down. Time-of-day (ToD), 1PPS, and 10-MHz ports are not provisioned or disabled.
Amber ToD, 1PPS, and 10-MHz signals are not valid.
Green GPS port is up. ToD, 1PPS, and 10-MHz signals are valid.